Ad Mixer (II) - How to mix Quattro Wireless Ads, AdMob Ads, and your own clickable Ads
What an impressive long blog title!
Quattro Wireless Ads has slightly better eCPM than AdMob, and it allows your to put a default image Ads (not clickable). However, its fillrate is unbearably low (50% ~ 90%, typically around 75%, according to my 2 week test). Here, I’m showing you a way to mix Ads from Quattro [...]
Ad Mixer (I) - How to mix AdMob Ads and your own clickable Ads
If you are an AdMob publisher, you will know how fluctuating their fillrates are: mine varies from 40% to 100%. What’s even worse is that they don’t support default Ads. So I decide to mix in mine:
For information about how to setup Ads on android apps using AdMob, click here.
Step 1: Prepare your own banner [...]
SAME 2D Launched!
I love to play the classic SAME game. It’s simple: click on more than 3 connected tiles with the same color to eliminate them, and your goal is to clear up the board with fewest clicks.
SAME 2D is a dynamic version of the SAME game, which fills the board over time. The more scores you [...]
Make Your Android Phone Vibrate
So I got this good suggestion from one user’s comment: when shake to shuffle, make the phone vibrate.
It’s actually a very simple 2-step operation, but android developer site wasn’t very clear about. Here’s how I did it:
Add permission in AndroidManifest.xml file like this:
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.VIBRATE" />
……
</manifest>
In your program when you want the phone to vibrate:
// [...]
How to detect shake motion on Android phone
When I was implementing the shake-to-shuffle feature in Pair-Up game, I googled for a similar code-snippet but didn’t have much luck. Eventually I came across this hidden code in Android Developer Guide which talks about using the phone motion sensor to program:
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/os/Sensors.html
Alas! It can be done! But I just need a very simple function to [...]


Recent Comments