[android-developers] Re: How to acquire device name with code

2009-02-04 Thread Stanley.lei
Hi Jerry, I have tested this solution. But unfortunately it seems not work. I wanna know the list device name with command "adb devices", which could be used as the serial number in the command "adb -s serial_number shell" to login shell, but the constants in class Build doesn't contain this inf

[android-developers] Re: How to acquire device name with code

2009-02-03 Thread Stanley.lei
Thanks a lot. I will have a try. Stanley On Feb 4, 10:58 am, "Jerry Yang" wrote: > I believe this link may helpful for > u.http://code.google.com/android/reference/android/os/Build.html > With best wishes > Jerry > > -Original Message- > From: android-developers@googlegroups.com > > [m

[android-developers] Re: How to acquire device name with code

2009-02-03 Thread Jerry Yang
I believe this link may helpful for u. http://code.google.com/android/reference/android/os/Build.html With best wishes Jerry -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Stanley.lei Sent: Wednesday, February 04, 200