[android-beginners] Re: G1 vs Emulator

2009-06-24 Thread David Turner
adb -e    to talk to the emulator (only works if there is a single
emulator instance running)
adb -d ...to talk to a real device (only works if there is a single
physical device connected)
adb -s serial ...  to talk to a specific device  (where serial is either
emulator-5554 or HT850GZ54711)

On Wed, Jun 24, 2009 at 7:01 PM, Neil Hendrick mojote...@gmail.com wrote:

 Droids,

 I have managed to set up my G1 so that it is recognized by the system when
 it is connected:

 mojote...@kobo:~$ adb devices
 List of devices attached
 HT850GZ54711 device
 emulator-5554 device

 but when I try to run my application, I do not get the option to run on the
 device. There is no device chooser, it goes straight to the emulator. Any
 thoughts?


 --
 ~Neil

 Neil Hendrick
 Bill Cosby http://www.brainyquote.com/quotes/authors/b/bill_cosby.html - A 
 word to the wise ain't necessary - it's the stupid ones that need the
 advice.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: G1 vs Emulator

2009-06-24 Thread Roman

I noticed the same on my system. To go around this problem, I switch
to DDMS mode in Eclipse and select the device icon to make sure that
the G1 is recognized. If this is not the case I unplug the G1 and
connect it again. After seeing the G1 as device connected on Eclipse I
switch back to Java mode and start the application.
Then the HW device is picked up and your application is loaded on the
device. Most of the times I get the display that I can select between
emulator and HW device but it seems like it is flaky!

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Jun 24, 5:22 pm, David Turner di...@android.com wrote:
 adb -e    to talk to the emulator (only works if there is a single
 emulator instance running)
 adb -d ...    to talk to a real device (only works if there is a single
 physical device connected)
 adb -s serial ...  to talk to a specific device  (where serial is either
 emulator-5554 or HT850GZ54711)

 On Wed, Jun 24, 2009 at 7:01 PM, Neil Hendrick mojote...@gmail.com wrote:
  Droids,

  I have managed to set up my G1 so that it is recognized by the system when
  it is connected:

  mojote...@kobo:~$ adb devices
  List of devices attached
  HT850GZ54711 device
  emulator-5554 device

  but when I try to run my application, I do not get the option to run on the
  device. There is no device chooser, it goes straight to the emulator. Any
  thoughts?

  --
  ~Neil

  Neil Hendrick
  Bill Cosby http://www.brainyquote.com/quotes/authors/b/bill_cosby.html - 
  A word to the wise ain't necessary - it's the stupid ones that need the
  advice.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---