Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q]Reload/Refresh Android PackageManager

$
0
0
Hello,

Yes, I've searched for this before anyone jumps and I was not able to find anything. I am developing a MOD that will require the phone to reload all of the packages installed after running it. Currently, the only way I've been able to do this is by restarting.

Is it possible to refresh the list of installed packages in the Android PackageManager when Android is actually running? Without restarting? This is the important bit as the mod will obviously get really annoying if you have to restart every time you use it. I've noticed that TitaniumBackup doesn't reload the packages when you freeze an app, which is why it says "Application is not loaded on phone" when you try and run. Should I take it from that, that it isn't possible?

Thanks

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>