Android Emulator Options

Posted by Frank May - 17 - 2011 - Tuesday

I was doing some work with the Android emulator because my phone was too far away and I’m lazy and found a cool feature. All you have to do is telnet to the your localhost on the whatever port your emulator is running and you get the menu shown below to adjust parameters of your Android virtual device (AVD). Cool!

fmaker@Langly:~/opt/android-sdk-linux_x86/tools$ telnet localhost 5554
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
ls
KO: unknown command, try 'help'
help
Android console command help:

    help|h|?         print a list of commands
    event            simulate hardware events
    geo              Geo-location commands
    gsm              GSM related commands
    cdma             CDMA related commands
    kill             kill the emulator instance
    network          manage network settings
    power            power related commands
    quit|exit        quit control session
    redir            manage port redirections
    sms              SMS related commands
    avd              control virtual device execution
    window           manage emulator window
    qemu             QEMU-specific commands

try 'help <command>' for command-specific help
OK

Leave a Reply

Most Recent Talk