On Apr 15, 6:44 pm, "E.D.I" <[EMAIL PROTECTED]> wrote:
> How can i run number of emulators in one computer??
> in or der to check my app fully i need to run number of emulators',
> how can i do it
Emulator has option '-data'.
In order to run emulator with its' own context, launch it from the
command line, passing separate file for each emulator instance.
With m5r14, when you run emulator for the first time, create empty
data file. If you intend to use google-supplied mock GPS provider,
pass -wipe-data when running emulator for the first time ( perhapse,
wiping the data when initializing may be useful for some other
applications,
too, and there is no harm )
Use adb utility to control the emulators.
Assuming you are using Linux SDK, perform the following steps:
1. add emulator 'bin' directory to the PATH
2. for each emulator instance, select the data file.
3. issue the following commands:
>touch <data file1>
>emulator -data <data file1> -wipe-data
# close the emulator
>emulator -data <data file1> &
>touch <data file2>
>emulator -data <data file2> -wipe-data
# close the emulator
>emulator -data <data file2> &
>adb devices
...
>adb -d 1 install <your application>
You can also specify -data option in Eclipse plugin "Run Dialog".
While running several emulators, I find useful to run them with
layout, cutting off the keyboard - you can enter characters from the
real PC кеyboard anyway.
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---