1. Are you ready for the Galaxy S20? Here is everything we know so far!

dev on a phone, not the emu

Discussion in 'Android Development' started by hellz, Jan 8, 2010.

  1. hellz

    hellz Lurker
    Thread Starter

    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?
     


  2. markb

    markb Well-Known Member

    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
     
  3. Appventive

    Appventive Member

  4. hellz

    hellz Lurker
    Thread Starter

    Thanks both of you. I do run elipse on ubuntu.
    Ill give it a shot.
     
  5. KeithG

    KeithG Well-Known Member

    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.
     
Loading...

Share This Page

Loading...