Reputation: 6830
Basically, I know that a specific kernel running on a CM10-based ROM has a problem with my app, and I would like to detect that at runtime, and send the user an alert to change kernels. How can I find out the kernel and ROM from within my app?
Upvotes: 2
Views: 2107
Reputation: 14472
http://developer.android.com/reference/android/os/Build.html
[EDIT]
If Build doesn't give you what you need, try System.getProperty("os.version"). I've tested on 3 devices and it gives the kernel string. You should be able to get anything that Build does not give you.
http://developer.android.com/reference/java/lang/System.html#getProperties()
Upvotes: 3