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) 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


Other Threads

1. broadcast data to other application

    I create an application where i get the various data from net (say
for example i am getting the temperature information of particular
city and another data is the information of stock value of a
particular company) now i want to broadcast that various data to all
application. I create a registration process for diff application for
diff data (EX app A is registrar for temp of city). so application is
registrar for  particular data will get that data.

How can i broadcast the information to all application which are
registrar .


2. How to start the intent contacts with a query

The ACTION_SEARCH intent doesn't take a data Uri, so new
Intent(Intent.ACTION_SEARCH) should be enough.


Jeff Sharkey


3. Notification without expanded View

4. i want to connect the emulator with the tomcat server using http protocol

5. Issue with orientation change: Dialog above activity with fixed orientation

6. How to restart scheduled jobs no phone restart

7. Polite discussion of lite/trial vs pro distribution