Created
April 18, 2013 20:20
-
-
Save VenomVendor/5415900 to your computer and use it in GitHub Desktop.
Get Device Details in Android Programmatically.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String details = "VERSION.RELEASE : "+Build.VERSION.RELEASE | |
+"\nVERSION.INCREMENTAL : "+Build.VERSION.INCREMENTAL | |
+"\nVERSION.SDK.NUMBER : "+Build.VERSION.SDK_INT | |
+"\nBOARD : "+Build.BOARD | |
+"\nBOOTLOADER : "+Build.BOOTLOADER | |
+"\nBRAND : "+Build.BRAND | |
+"\nCPU_ABI : "+Build.CPU_ABI | |
+"\nCPU_ABI2 : "+Build.CPU_ABI2 | |
+"\nDISPLAY : "+Build.DISPLAY | |
+"\nFINGERPRINT : "+Build.FINGERPRINT | |
+"\nHARDWARE : "+Build.HARDWARE | |
+"\nHOST : "+Build.HOST | |
+"\nID : "+Build.ID | |
+"\nMANUFACTURER : "+Build.MANUFACTURER | |
+"\nMODEL : "+Build.MODEL | |
+"\nPRODUCT : "+Build.PRODUCT | |
+"\nSERIAL : "+Build.SERIAL | |
+"\nTAGS : "+Build.TAGS | |
+"\nTIME : "+Build.TIME | |
+"\nTYPE : "+Build.TYPE | |
+"\nUNKNOWN : "+Build.UNKNOWN | |
+"\nUSER : "+Build.USER; | |
Log.d("Device Details",details); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice and it useful to get all devices details