dev on a phone, not the emu


Last Updated:

  1. hellz

    hellz Member This Topic's Starter

    Joined:
    Jan 5, 2010
    Messages:
    6
    Likes Received:
    0
    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?
     

    Advertisement
  2. markb

    markb Well-Known Member

    Joined:
    Sep 14, 2009
    Messages:
    148
    Likes Received:
    26
    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 Well-Known Member

    Joined:
    Jun 11, 2009
    Messages:
    79
    Likes Received:
    17
  4. hellz

    hellz Member This Topic's Starter

    Joined:
    Jan 5, 2010
    Messages:
    6
    Likes Received:
    0
    Thanks both of you. I do run elipse on ubuntu.
    Ill give it a shot.
     
  5. KeithG

    KeithG Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    103
    Likes Received:
    3
    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.
     

Share This Page

Loading...