Tag: android

Maybe you already know about ViewPager and are using something like ViewPagerIndicator by JakeWharton for indicating the title. Did you know that there is something doing that in the support library? If you use it, it looks like this: Now how do you use this? First you need to set…

You want to have a nice report how much you cover with your Android unit tests? Here a quick walkthrough how to get such a report (see screenshots of report below). In this example I expect that your test project is in a folder "tests" in your project folder which…

While I am developing on Android there are some commands the android shell offers, that I just love. They are very helpful for debugging or testing some things. Let me share my favorites with you. If you have other ones you use often, please tell me those in the comments.…

Why would you want to reverse engineer a android application? Well there are different reasons: To find out how the other apps work To see how they behave How you can send Intents to those Apps to open certain Activities from your own app (did that with the Facebook app)…

Do you want to offer a free version of your Android app and as well a paid version without ads and more functionality but with the same basic features? I wanted to do so with my SleepTimer app (extended/unlocked version with Widget and no ads). But what can be…

Problem: With Android 2.2 (Froyo) packages can't be force closed through restartPackage() anymore. Exactly this is what SleepTimer relied on to turn off the different Services which are running music. Thanks to Corsin Camichel I found an example on how Google force closes packages in Android 2.2 (Froyo)…