I want helping app for proper working of my main application.My idea is to get Broadcast for android.intent.action.PACKAGE_RESTARTED
and android.intent.action.PACKAGE_DATA_CLEARED
but problem is Document states that the
Restarted/Cleared package does not receive this broadcast
.So I want to make a helping app that will be called when my main app is restarted or cleaned.And from there I can tell my main app that package is restared/cleaned so perform according to that .
So Finally my question is how can I do that, should I ask user to install that app for better performance or is there any way to intall it without asking user.Or anybody having better idea to tackle my problem without using helping app.