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. Building a .so lib

Hi All,

I want to build a .so lib in Android.
But not very sure how should I do it.
When I am calling some external function it always gives me linker error,
even though I have declared these function as extern.

Thanks
APT

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

2. emulator support in 2.6.27 ?

Don't see any commits of goldfish code in the android-2.6.27 branch of
kernel/common.git, yet.  Will the emulator be supported in 2.6.27?

thanks,
D

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. Activities with different orientations

4. Android inside a VirtualBox - "android_power" wakup problem

5. Roaming & access to Android Market

6. New posting at funfashion4u

7. Cupcake: browser cannot connect to the internet