Finding Device (and android version) from code

by Mark Murphy » Fri, 29 May 2009 10:07:03 GMT


Sponsored Links
 > How do I get the device (G1, magic, i7500, etc) programmically, as

Check out android.os.Build.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. testing applications on non developer's-devices

Is there a way to do that?

-- 

2. made change in Android.mk

I added a new gpio-keys.kl file to the out/target/product/beagleboard/
system/usr/keylayout directory and modified the Android.mk development/
emulator/keymaps which should create a gpio-keys.kcm file.  How do I
build the Android.mk file...is there a parameter that I can set on the
command line when I do a build?

Thanks.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Key Injection & INJECT_EVENTS

4. SYSFS based accelorometer

5. Getting and Sending Data From the Web (URLConnection via http)

6. How Truncate Text With 3dots In Table Layout

7. Icon issue - building with 2.1 sdk for 1.5 target