I am wondering how to obtain the details located in the "About Phone" section in the settings of Android devices programmatically.
More specifically I like to obtain the stated storage capacity of the device i.e 64GB in the screenshot attached.
I am wondering how to obtain the details located in the "About Phone" section in the settings of Android devices programmatically.
More specifically I like to obtain the stated storage capacity of the device i.e 64GB in the screenshot attached.
Using Build class you can get all of this information
For example, Build.HARDWARE etc. Check the docs https://developer.android.com/reference/android/os/Build.html
And to see specifically the storage capacity check out this question It is possible to get total storage capacity?