android - Get notified when a third party app is launched for the first time -


i want notified when 3rd party apps opened user first time.

my app system app, can request system permissions.

i know can polling data such app's cache , seeing larger 0, there other way without polling? (for example, via broadcastreceiver)

as per knowledge, don't broadcast when launch application first time.

however can check intent.flag_activity_launched_from_history set if application has been launched history. not solve problem case check if in future find way detect first application launch.


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -