“Debug certificate expired” error in Eclipse Android plugins

I am using Eclipse Android plugins to build a project, but I am getting this error in the console window:

How do I fix it? Delete your debug certificate under ~/.android/debug.keystore on Linux and Mac OS X; the directory […]

Saving Android Activity state using Save Instance State

I’ve been working on Android SDK platform, and it is a little unclear how to save an application’s state. So given this minor re-tooling of the ‘Hello, Android’ example:

I thought it would be enough for the simplest case, […]

Is there a unique Android device ID?

Do Android devices have a unique ID, and if so, what is a simple way to access it using Java? Settings.Secure#ANDROID_ID returns the Android ID as an unique for each user 64-bit hex string.