How to pragmatically access the device is rooted to implement auto install the local apk file using android java code? : I have written code to download and open the installation screen where if user can allow to install it install but i required auto install the app.So if anyone have any trick to implement auto install the local apk file using java code please share.