webmonkey wrote: > In Settings > About phone there is a field Model Number which now > obviously says "T-Mobile G1". But to already be device-independent for > the future, is there a way in the SDK to get this field. I will not be > using it to identify the device but simply to form a string that says > "I am running Android on my [Model Number]"
Check out android.os.Build. Note that the emulator returns "generic" for some of the values. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.3 Published! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---