askIT

Use your own mobile as emulator

It's not enough to test your application on an emulator. You can actually use your own Android mobile phone emulator. Pick your USB cable and plug it into your mobile and PC.

01 Security settings on your mobile

Go to security settings on your mobile. Enable installation of apps from unknown sources.

00_security.png

01_ukjente_kilder.png

Go to "About your device" and press 10 times on the "Build Number".

02_about_device.png

02_tap.png

Go to "Developer mode".

03_utviklermodus.png

Enable "USB Debugging".

04_debugging.png

02 Run app

You are now ready to install an app to your mobile phone. Connect the USB connector between your mobile and PC. Launch Android Studio and run start an app you're working on.

05_run.jpg

The "Device Chooser" will display your mobile phone. Click OK to launch the app on your phone in.

06_device_chooser

03 Troubleshooting: USB drivers

If you run into problems then try to download and install OEM drivere. The driver varies from producer of cellphones.

Producer Driver
Acer http://www.acer.com/worldwide/support/mobile.html
Asus http://support.asus.com/download/
Blackberry https://swdownloads.blackberry.com/Downloads/entry.do?code=4EE0932F46276313B51570F46266A608
Dell http://support.dell.com/support/downloads/index.aspx?c=us&cs=19&l=en&s=dhs&~ck=anavml
Fujitsu http://www.fmworld.net/product/phone/sp/android/develop/
HTC http://www.htc.com
Huawei http://consumer.huawei.com/en/support/index.htm
Intel http://www.intel.com/software/android
Lenovo http://support.lenovo.com/us/en/GlobalProductSelector
LGE http://www.lg.com/us/support/software-firmware
Samsung http://www.samsung.com/us/support/downloads
Sony Mobile http://developer.sonymobile.com/downloads/drivers/
Toshiba http://support.toshiba.com/sscontent?docId=4001814

Add comment

avatar_blank_60.png

Comment:

Name:

Email:

Comments

No comments yet. You can be the first one to comment. Just write your comment in the form and click on the submit button.