Hi I wanted to know what the OS is pro grammatically in Android? what i have tried is to get the system property of "os.name". but it returns the value as "Linux". but this does not help. i wanted to know whether it is Android or not? how to do this?
Asked
Active
Viewed 71 times
1
-
You want to provide a cross-platform library, I suppose? – Code Painters Apr 03 '13 at 14:34
-
http://stackoverflow.com/questions/4519556/how-to-determine-if-my-app-is-running-on-android – infthi Apr 03 '13 at 14:38
-
hi on the thread he says he went by "java.runtime.name" = "android runtime". but i dont find this property anywhere? where is this propert defined, – Muralidhar Yaragalla Apr 03 '13 at 16:43