How to quickly update the package without restarting the simulator?

by Brett Chabot » Wed, 31 Dec 2008 04:19:00 GMT


Sponsored Links
 You could try to re-install the app instead, using
adb install -r my.apk

Although re-installing will retain the application's data, which might
not be always what you want.

Also, I wasn't clear from your message whether you are doing this or
not, but it should not be necessary to close and restart the emulator.
I just leave the emulator running while I'm doing my app development.

Hope that helps.

Regards,
Brett.





--~--~---------~--~----~------------~-------~--~----~



How to quickly update the package without restarting the simulator?

by Xiongzh » Wed, 31 Dec 2008 07:15:14 GMT


 Yes, do not need to restart the simulator. Just re-run the application
within Eclipse. The plugin is wise enough to reuse the simulator and
reinstall the package.
Thanks
Here's the console log:
[2008-12-31 07:10:35 - ApiDemos] Android Launch!
[2008-12-31 07:10:35 - ApiDemos] adb is running normally.
[2008-12-31 07:10:35 - ApiDemos] Launching:
com.example.android.apis.ApiDemos
[2008-12-31 07:10:35 - ApiDemos] Automatic Target Mode: using existing
emulator: emulator-5554
[2008-12-31 07:10:35 - ApiDemos] Uploading ApiDemos.apk onto device
'emulator-5554'
[2008-12-31 07:10:40 - ApiDemos] Installing ApiDemos.apk...
[2008-12-31 07:10:56 - ApiDemos] Application already exists.
Attempting to re-install instead...
[2008-12-31 07:11:17 - ApiDemos] Success!
[2008-12-31 07:11:17 - ApiDemos] Starting activity
com.example.android.apis.ApiDemos on device
[2008-12-31 07:11:20 - ApiDemos] ActivityManager: DDM dispatch reg
wait timeout
[2008-12-31 07:11:20 - ApiDemos] ActivityManager: Can't dispatch DDM
chunk 52454151: no handler defined
[2008-12-31 07:11:22 - ApiDemos] ActivityManager: Starting: Intent
{ comp={com.example.android.apis/com.example.android.apis.ApiDemos} }





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to quickly update the package without restarting the simulator?

by Xiongzh » Wed, 31 Dec 2008 07:37:21 GMT


 Hope in the next version of Android SDK, developer need not to package
and reinstall the apk while debugging ...





--~--~---------~--~----~------------~-------~--~----~



How to quickly update the package without restarting the simulator?

by Pete Wright » Fri, 02 Jan 2009 05:44:27 GMT


 See the other replies in this thread. You don't need to. Just leave
the emulator running, make your code changes and run the application
again. The emulator will not reboot and go through the startup process
over again, but will instead just run the newly changed app.







--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Do application updates put your app back to the top of the list on the "By Date" tab in the android market?

I have an app on the android market and when I release an update, the
application does *not* goto the top of the app list on the by date
tab. But I notice that this isnt the case for all apps - infact just
today I noticed an app that was published months ago but updated w/ to
a new version appearing on the top of the list. What gives? Is there
some special process devs have to do to get their app update to the
top of the list on the By Date tab? Are they unpublishing/republishing
their app at every version update? Spill the beans :)


Thanks!

JC
--~--~---------~--~----~------------~-------~--~----~

2. Display image in marker

Hey,

I want to display an image (loaded from an internet source) in a
marker in a MapView!
How can I do that?

Thx,

Wouter
--~--~---------~--~----~------------~-------~--~----~

3. onDraw() help

4. 3D transition flip between activities?

5. Text getting cut-off in a list view

6. Low Memory: No more background

7. Andriod Development