Reputation: 237
I need to reach informations about u device informations like android version or device/publisher id and some basic hardware informations. so how should i follow for reach that informations
Upvotes: 0
Views: 65
Reputation: 5549
To get Android version, there is Android.OS.Build.VERSION
class.
To get some basic hardware information, there is Android.OS.Build
class. It contains a few hardware information string properties, like: Build.CPU_ABI
, Build.DEVICE
, Build.DISPLAY
, Build.MANUFACTURER
, Build.MODEL
etc.
To get device id, it's a little bit tricky. It really depends. You may take a look at "Identifying App Installations" from Android Developer's blog. And answers to this question: "Is there a unique Android device ID?" might help as well.
Upvotes: 1