OK, I did some tests on the G1 and here are the fields:

Build.BRAND = "tmobile"
Build.DEVICE = "dream"
Build.MODEL = "T-Mobile G1"

So Build.MODEL is what I need.

Thanks

On Oct 31, 7:11 pm, Ludwig <[EMAIL PROTECTED]> wrote:
> That probably comes from Build.MODEL (or one of the other strings in the
> Build class, such as DEVICE).Would be interesting to know which is which,
> the emulator is a bit 'generic' here.
>
> Ludwig
>
> 2008/10/31 webmonkey <[EMAIL PROTECTED]>
>
>
>
>
>
> > 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]"
>
> > Thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to