[android Developement] Get Miui Version Info Programmatically


jeeachinto

Members
Nov 3, 2016
11
15
Hello dears, I am developing and android app and I need to know the miui version info of the phone programmatically. There's someone that knows how to do it? In android.os.build and android.os.build.version there's nothing about the rom name just only the version and some stuff about the producer. I need to know which is the rom installed on, such as for example: xiaomi.eu stable or weekly, china developer or global stable etc... Just the same info that I can read from the phone settings when I tap on "phone info".