I am using windows 7 and I need to Telnet to my android emulator to be able to run a location app. How would I go about doing that? The only tutorials I am finding have been for linux...
Starting the emulator Use the emulator command to start the emulator, as an alternative to running your project or starting it through the AVD Manager. Here's the basic command-line syntax for starting a virtual device from a terminal prompt: emulator -avd avd_name [ {- option [ value ]} … ]
To access the console and enter commands, from a terminal window, use telnet to connect to the console port and provide your authentication token. Each time the console displays OK, it's ready to accept commands. It doesn't have a typical prompt. The emulator window title lists the console port number.
An Android emulator is an Android Virtual Device (AVD) that represents a specific Android device. You can use an Android emulator as a target platform to run and test your Android applications on your PC. Using Android emulators is optional.
Use RAW as Connection Type and not Telnet.
Use the following parameters.
hostname: localhost
port: 5554
You 1st need to enable telnet because windows 7 has it disable by default: http://www.itdoescompute.com/2009/10/29/how-to-enable-telnet-in-windows-7/
Alternative, download Putty @ http://www.putty.org/ and connect to your Android. I believe its "localhost:5554"
You could simply connect to your Android via the ADB Shell instead of online; adb -e shell
How to use ADB Shell: http://www.londatiga.net/it/how-to-use-android-adb-command-line-tool/
Launching an App, Answer by Cristian (view profile) How to start an application using android ADB tools?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With