문제

I am working on android project and I wish to to retrieve the ROM name (not Android OS name) I.e. CyanogenMod Nightly 11.

Is this possible Google doesn't seem to be finding anything.

Thanks for any help you can provide.

도움이 되었습니까?

해결책

How about using Build.DISPLAY most of the ROM's override it, although it's a developer choice so you can't trust it will work 100%

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top