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. Is it possible to use an upgraded version of Webkit?

Using Android 1.6, I find that in a certain case for a list displayed
using Webkit, some elements can indicate they have focus, but others
do not.  However, using Android 2.0, it works fine.  Is there a way of
distributing an upgraded version of Webkit with my app, so that it can
work correctly for devices that are running older versions of Android?

Thanks!

-- 

2. Which Reference System is used by the Google Maps Api

Hi,

which Spatial Reference System is used by the Google Maps API and in
which Reference System are the GPS coordinates to be received by a
LocationProvider?
I only can assume that the Location Services use WGS84, or EPSG:4326.
But what if I use GeoPoint? Will it require WGS84 or the Google Maps
Projection (some kind of traverse mercator projection EPSG:90913). And
what reference do the Projection.fromPixels(..) and Projection.toPixels
(..) methods require?

I ask because I want to display some GeoData to an Overlay and I have
to decide in which reference system I have to request it from my
Services.

Kind regards

Mathias

-- 

3. why is my app asking to access phone calls and storage?

4. How to get the highest API level supported by the device?

5. Using the new startForeground vs the old setForground for services

6. one linearlayout bottom aligned.

7. Long startup time for MapActivity derived classes?