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. How to get notified of incoming email messages?

I'm very new to Android development, so excuse me if my use of the
terminology isn't quite right....

I would like to know how I can register to get notified when and email
comes into the device.  I think I need to create a BroadcastReceiver
and define an IntentFilter with an action.  The problem is, I'm having
a problem figuring out which action/intent/etc I should be looking
for.  I'd like my app to take certain actions based on the subject of
incoming emails.  Can anyone point me in the right direction?

Thanks,
Justin

-- 

2. transforming an activity to a modal full screen dialog

You can set the activity theme to look like a dialog...

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------





> 

3. Freelance projects for Android developers

4. My android project did not show up in emulator.

5. Do I have to mount the SD card?

6. Is java.util.Scanner that slow?

7. custom shape