나는 ACTION_MY_PACKAGE_REPLACED에 대해 알고 있지만 의도는 무엇인가? 수신자에게 알립니다. 후에 앱이 교체되었습니다.앱을 다른 앱으로 교체하기 전에 알림을받을 방법이 있습니까?
하지만 - 앱이 다른 것으로 대체되기 전에 알고 싶습니다.
나는 이러한 작업
<receiver
android:name=".receivers.InstallReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_INSTALL" />
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_CHANGED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
으로 시도했지만 도움이되지 않습니다!
AFAIK, 아마도 NO –
앱을 제거하기 전에 일부 서비스를 중지하려면 어떻게해야합니까? 나는 서비스가 자동으로 시스템에 의해 살해되지만 어떻게 든 그것은 추락하고있는 것을 알고있다. – Wizard