Friday, November 20, 2009

Delete / Remove Android Applications deployed on Emulator


First, make sure the emulator is running. Then follow below steps:

1. Go to the tools directory in command prompt –
c:\>android\tools
2. Type
adb shell
3. #
cd /data/app (this takes you to the folder where all apk files are installed)
4.
#ls (It will display all the .apk installed in your emulator)
5. #
rm ***.apk (which you want to remove, all apk files)
6.#
exit (exits from the adb shell)


NOTE: to start the emulator, you can start it from eclipse by right clicking an android project and “run as” an “application” or by going to tools directory at command prompt and typing “emulator –avd <avd_name>”

Updating the past tutorials to Android SDK 2.0

Hi Friends,

It has been a couple of weeks since Android SDK 2.0 has been released. Since I have got caught up in many other demanding projects, I have not been able to find any time to update my tutorials' sample code uploaded so far to be compatible to 2.0.
It would be wonderful if, as and when you try my tutorials, you can update / post your comments on deprecated APIs or newer APIs that need to be used.

Thanks.

Hi, I have written a few steps about upgrading to SDK 2.1 at http://saigeethamn.blogspot.com/2010/03/basic-steps-for-upgrading-source-code.html