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. How to access shared preference outside of Activity



PreferenceManager.getDefaultSharedPreferences(), passing in the
Context supplied to you in onReceive() of your BroadcastReceiver.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 

2. Add libdl to accRuntimeTest link command

I am trying to build Android 2.1 on Fedora 13, and the build is
failing because the linker can't find dlsym when
it tries to link accRuntimeTest.  dlsym is in libdl, and whatever
jiggery-pokery enabled the linker to auto-
magically find it in previous Fedora releases is no longer there.

What do I need to do to the makefiles to get libdl (-ldl) added to the
linker command for accRuntimeTest?

Thanks!

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Changing Main/Launch activity

4. Can i remove my status bar notification without opening my app?

5. How to compile and install mplayer from source code

6. how to check if the current thread is in the ui thread?

7. Glitch in Eclipse SDK - Can't select Build Target