I am a new learner for android, I want to develop an API. I want to check whether my android device is booted in safe mode or not programmatically, is there any parameter? I checked the Settings.System parameters but I didn't find anything?. I a using Visual studio for development and android marshmallow for testing.
Asked
Active
Viewed 322 times
5
-
2i saw this method isSafeMode() in PackageManager can u give a try? – Lingeshwaran May 05 '17 at 11:14
-
thanks, Lingeshwaran got it...! – Shailesh May 05 '17 at 11:19
-
post your code it might help to someone in future. – Lingeshwaran May 05 '17 at 11:24