android - How to detect that new app has been installed on the device? -


how cleanmaster app detect new app has been installed on device? whenever install new app, popup asking if want move app sd card.

i trying code similar behaviour cannot find way it.

there action_package_added broadcast intent, application being installed doesn't receive this.

<receiver android:name=".myreceiver">     <intent-filter>         <action android:name="android.intent.action.package_added" />         <data android:scheme="package" />     </intent-filter> </receiver> 

Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -