I want to get all hardware information from my android device, I know the existence of Build
class but the data seems to be incomplete (or I don't know where I have to look).
My Phone model is Xiaomi Poco X3 NFC:
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_sistema)
findViewById<TextView>(R.id.textView14).apply { --> surya_eea
text = Build.PRODUCT
}
findViewById<TextView>(R.id.textView13).apply { --> POCO
text = android.os.Build.BRAND
}
findViewById<TextView>(R.id.dispositivo).apply { --> surya
text = android.os.Build.DEVICE
}
findViewById<TextView>(R.id.fabricante).apply{ --> XIAOMI
text= Build.MANUFACTURER
}
findViewById<TextView>(R.id.modelo).apply { --> M2007J20CG
text = android.os.Build.MODEL
}
The problem is that I can't find a way to get "X3 NFC"