I am loving the emulator snapshot feature that is at "Early look" stage in 
SDK Tools Revision 9

http://developer.android.com/sdk/tools-notes.html#

This capability is speeding up my development using the emulator 
significantly. It took me a while to figure out how to use it so wanted to 
share it here :

>> CREATE AN AVM SNAPSHOT

* Set the "Snapshot Enabled" checkbox in the SDK Manager > Virtual Devices > 
New...

NOTE : Make sure you upgrade your Eclipse plugin for Android Development to 
9.0.0 or the Snapshot Enabled feature wont show.

* Start your AVM and enable the `Save to Snapshot` checkbox, then click 
Launch button

* Once the AVM is running. Set it up how you want it to resume later. E.g. 
change settings, screen rotation and run the app you want.

* Close the emulator window (click the close box). The AVM state will be 
saved and the window will close.

RESUME the AVM

* From the SDK Manager > Virtual Devices select your device and click 
Start...

* This time turn `Launch from Snapshot` ON and `Save to Snapshot` checkbox 
OFF then click Launch button.

* Your AVM should launch in a few seconds and resume to its saved state like 
magic.

* Close the emulator window and the present state will be lost (because we 
turned  `Save to Snapshot` checkbox OFF). Resume again to the originally 
saved snapshot at any time.

SUMMARY

Emulator Snapshots - New in API Level 9
Good
- Instant-On Emulator at a state you decide.
- Saves time (several minutes)
- Configure your AVM settings Once
- Works with older API versions (e.g. Froyo 2.2)
Bad
- Only one snapshot per AVM
- Defaults to standard screen orientation



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to