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, 2009 10:22 AM To: Android Developers Subject: [android-developers] How to acquire device name with code Hi, As we know, when we connect the G1 phone with USB, we could use "adb devices" to show its device name. My question is whether there is a method to detect this device name in phone with code, or how to judge the "device name" is the just "myself" with code? Any comment will be appreciated. Thanks, Stanley --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---