There is something you need to be aware of if you are placing your GCM (Google Cloud Messaging, aka push notifications) service (the one extending from GCMBaseIntentService) in a package other than the main application package. The default implementation of
Quick and easy way to remove all single line (//) comments in Eclipse
I had to quickly remove single line comments from an Android project in Eclipse. I could not find any built in feature in Eclipse to do that. So I resorted to a simple regular expression: (//[^\n]*) This simple regex selects
A small bug in the Android In-App Billing demo app causes “Item Not Found”
Important: This is not a bug in the API! It is only a bug in the demo Dungeons application that Google provides. Several months ago (May, 2012) Google released the new version (v2) of the Android In-App Billing API that
Software Center in Ubuntu 12.04 crashes on startup
Recently the Software Center started crashing on startup. Initially I thought it was due to network issues, but after a further examination it turned out not to be the case. Running it from the panel will not give you any
How to get Picasa images using the Image Picker on Android devices running any OS version
Using the Image Picker to get a local image from the Gallery is pretty easy and trivial task. But things get a lot more interesting if the user has a Picasa account and he/she happens to select an image from
Remove vim color coding in Ubuntu
By default Ubuntu’s vim utility is configured to color code certain keywords, comments, extensions, etc. I personally do not like this. So I just disable that feature. And while I am at it, I also enable the ruler, which displays
How to Switch your Google Checkout Account in the Android Market Application
With Google’s last update of the Market application on the Android devices, it became a lot easier to now switch your Google Checkout account associated with all your application purchases. Just fire up the Market application on your device and
How to sign an unsigned Android package (.apk file)
If you develop with Eclipse, you most likely use the built in Export Wizard to export and sign your Android applications. There are some cases though, when this method will not do. For example, if you decide to publish your
Eclipse Project is Flagged with an “Android Packaging Problem” Error
Sometimes while developing in Eclipse you will notice that the Android Project will be flagged with the red “x” but none of your source files or resources will have errors. If you look in the “Problems” tab you will notice
Android Version 2.2.2 Prevents Applications with Copy Protection Turned on from Displaying in the Market
Today I got the Over the Air update of my Nexus One phone to version 2.2.2. To my surprise I could not see some of my applications that were published in the Android Market. Neither could I see a big