Re: [android-developers] how to detect device model?

2009-12-14 Thread Mark Murphy
Georgios Galyfos wrote: > Is there a way to detect the device model of a user through Java code on > Android? Look at android.os.Build. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- You received this

[android-developers] how to detect device model?

2009-12-14 Thread Georgios Galyfos
Hi, Is there a way to detect the device model of a user through Java code on Android? To return htc-magic or htc-dream or something like that, somehow? I have been trying to detect this through the user agent when the client is accessing an web page, however this is always Java0 through Android. H