• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps dev on a phone, not the emu

hellz

Lurker
I've been coding some apps lately. All using the emulator and then moving them to my phone. Is there a way I can just run them off an actual phone using a moto droid instead of dealing with the emulator?
 
Hi Hellz,

Are you using Eclipse, or just the command line tools?

If your phone is connected to your PC and you run the app from Eclipse it should install it on your phone and run it. That's what happens for me.

Depending how you have things set up, Eclipse might bring up a dialog asking you where you want to run the app, allowing you to choose between the emulator and the phone.

Mark
 
you don't need the usb driver on ubuntu. Just turn on USB debugging, other software sources..etc on the phone and connect it.

Your device will automagically show up in the sdk tools just like the emulator does.

If the device does not have an engineering load on it.. you will need to sign the apk's with a real key as opposed to the pre-generated debug key.

Depending on the version of ubuntu you may need to add some udev rules ...

http://androidcommunity.com/forums/f4/how-to-install-apps-using-adb-4482/

and....

http://developer.android.com/guide/developing/device.html

hope that helps.
 
Back
Top Bottom