I use the Google Pixel XL which has model number is G-2PW2100. When I use Build.MODEL, it will return for Pixel XL. So How can I get the exact model number of Google pixel device?
Asked
Active
Viewed 256 times
1
-
Try using Build.PRODUCT https://developer.android.com/reference/android/os/Build.html#PRODUCT – takharsh Dec 11 '19 at 03:31
-
I try all the fields in Build. But don't have exactly the model number. – Anthony Dec 11 '19 at 04:05