Launch android emulator on mingw/msys, but failed

by Hua Xia » Tue, 28 Apr 2009 23:40:01 GMT


Sponsored Links
 How to use "emulator -verbose or -debug "? just type "emulator -verbose or
-debug " in shell?

2009/4/27 Raphael <r...@android.com>



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



Launch android emulator on mingw/msys, but failed

by Hua Xia » Wed, 29 Apr 2009 15:56:01 GMT


 response as below:*


$ emulator -verbose
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

-----------------------------------------------------------------------------------------------------------------------------------
*the other response below:*

$ emulator -debug init
unknown option '-debug'
Android Emulator usage: emulator [options] [-qemu args]
options:
-system <dir> search system, ramdisk and userdata images in <dir>
-kernel <file> use <file> as the emulated kernel
-ramdisk <file> use <file> as the ramdisk image (default is
<system>/ramdisk.img)
-image <file> use <file> as the system image (default is
<system>/system.img)
-nand0 <file> obsolete, same as -image
-data <file> use <file> as the working user data disk image
-nand1 <file> obsolete, same as -data
-sdcard <file> use <file> as the SD card image (default is
<system>/sdcard.img)
-skindir <dir> search skins in <dir>
-skin <skin> select a given skin
-noskin don't use any emulator skin
-wipe-data wipe all data on the user disk image before starting
-netspeed <speed> set maximum network download/upload speeds (see
below)
-netdelay <delay> set network latency emulation
-netfast disable network shaping (i.e. use full speed, no
latency)
-verbose enable verbose output
-trace <name> enable code profiling (press F9 to start)
-console enable console shell on current terminal
-debug-kernel send kernel output to the console
-nojni disable JNI checks in the Dalvik runtime
-logcat <logtags> enable logcat output with given tags
-noaudio disable android audio support
-useaudio enabled android audio support (default)
-mic <device or file> device or WAV file for audio input
-flashkeys flash key presses on the device skin
-verbose-keys enable verbose key presses
-raw-keys disable Unicode keyboard reverse-mapping
-radio <device> redirect radio modem interface to a host character
device
-onion <image> use overlay image over screen
-onion-alpha <percentage> specify onion skin translucency (default 50)
-oldradio enable old VM-based simulated radio
-version display emulater version number
-qemu pass arguments to qemu
-qemu -h display qemu help
-help print this help
The format of network <speed> is one of the following (numbers are
kbits/s):
-netspeed gsm GSM/CSD (up: 14.4, down: 14.4)
-netspeed hscsd HSCSD (up: 14.4, down: 43.2)
-netspeed gprs GPRS (up: 40.0, down: 80.0)
-netspeed edge EDGE/EGPRS (up: 118.4, down: 236.8)
-netspeed umts UMTS/3G (up: 128.0, down: 1920.0)
-netspeed hsdpa HSDPA (up: 348.0, down: 14400.0)
-netspeed full no limit (up: 0.0, down: 0.0)
-netspeed <num> select both upload and download speed
-netsp


Sponsored Links


Other Threads

1. Question on WebView.addJavaScriptInterface()

HI

I am trying to extract the HTML of the current page.

1) The API I am using is "public void addJavascriptInterface (Object
obj, String interfaceName)". Google says "Using addJavascriptInterface
() allows JavaScript to control your application. This can be a very
useful feature or a dangerous security issue. When the HTML in the
WebView is untrustworthy (for example, part or all of the HTML is
provided by some person or process), then an attacker could inject
HTML that will execute your code and possibly any code of the
attacker's choosing"

2) Following is the example where I am using these API.
webview.addJavascriptInterface(new MyJavaScriptInterface(),
"HTMLOUT");
webview.loadURL("javascript:window.HTMLOUT.parseHTML
('<html>'+document.getElementsByTagName('head')[0].innerHTML+'</
html>');");

3) MyJavaScriptInterface Class is as follows
public class MyJavaScriptInterface {
    parseHTML(String hrml){
        //parse the string. String is nothing but the HTML. Look for
needed tags and post an intent to my service.
    }

}

4) So just like how I am calling the function of a class
MyJavaInterface from javascript using loadURL any one call it too.
Means any one can write a HTML page and call the function parseHTML.

What my point is
    - I am not sure how this will be a security threat? Whatever I am
doing anyone can do it as well by using the WebView.?
    - How the attacker could inject and execute its own code?

Can someone please help?

Thanks,

-Amit
--~--~---------~--~----~------------~-------~--~----~

2. how to extract RAW HTML using WebView

Hi,

Is there a way to get the RAW HTML using the WebView?

Thanks,

-Amit
--~--~---------~--~----~------------~-------~--~----~

3. How to use other app to 'view' the media in Gallery

4. TextView with dyncami links

5. Google maps problem:

6. problem in service in manifest file

7. Video Capture with sounder Crashed(cupcake 1.5 opencore 2.03)