Powered By:
Android Advice
 

Archive for December, 2011

Android Live Wallpaper Example

December 31, 2011

In this example we create a live wallpaper where when the device-screen is touched/swiped a circle is drawn around the point-of-touch (as per official Android Dev example). Some Notes Requires Android 2.1 (API Level 7) or higher Step 1 – Manifest Setup 1. Only show the application to devices on the Android market that support [...]

Posted in Android, Programming No Comments »

Android – Get All Activities in Current Package

December 30, 2011

To get a list of all the activities that belong to the package currently in context use the following code: //note you can specify any action here to match activities with a specific //action or leave it null to not filter by action Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); // get the name of the [...]

Posted in Android, Programming No Comments »

Solution to “Reinstallation failed due to different application signatures” when debugging in Eclipse

December 30, 2011

Problem On installing an APK onto a device/emulator, when the debugger is run the following error is outputted in the Eclipse console “Re-installation failed due to different application signatures.” Cause The last time this application/APK was installed during a debug session the debug key store was different. This is a common issue when debugging for [...]

Posted in Android, Problem-Cause-Solution, Programming No Comments »