How i can detect package开发者_C百科 adding on device using service and after it get package name?
You can use Broadcast with ACTION_PACKAGE_ADDED action . So that when a new package will be added in your device you can do your work onReceive() method of Broadcast.
精彩评论