How can I get the version of the Linux kernel in an Android application?
Not 100% sure, but I think calling "uname -r" would require root access. There is anyways a less dirty way to do this, which is :
System.getProperty("os.version");
I found this information here : http://cb1991.blogspot.com/2011/03/android-code-to-get-kernel-version.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With