앱을 만들고 있는데 앱을 삭제할 때를 알고 싶습니다. BroadcastReceiver를 사용했지만 코드가 어디에 있는지 모릅니다. 잘못? (내 애플 unistalling 때, 브로드 캐스트 리시버가 unistalling에 대한 메시지를 받아 봐 수 없습니다) 을 그것은 내 응용 프로그램의 매니페스트앱을 만들 때 앱을 삭제할 때를 알고 싶습니다.
<receiver android:name="receiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED"/>
<action android:name="android.intent.action.PACKAGE_DATA_CLEARED"/>
<action android:name="android.intent.action.PACKAGE_INSTALL"/>
<action android:name="android.intent.action.UID_REMOVED"/>
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
<action android:name="android.intent.action.MEDIA_REMOVED"/>
<action android:name="android.intent.action.MEDIA_BAD_REMOVAL"/>
<action android:name="android.intent.action.BATTERY_OKAY"/>
<data android:scheme="com.example.testpermission"/>
</intent-filter>
감사합니다.
확인이 자녀의 모바일에 앱을 설치하는 부모를위한 앱이며, 어린이가 앱을 설치 해제하려고 할 때 앱이 패스를 묻습니다.이 앱의 작동 방식은 무엇인가요? – user3090559
@ user3090559는 매우 다른 시나리오입니다. 나는 그것이 어떻게 구현 되었는가 모르겠지만 아이폰은 주문형 롬이나 특별한 런처 (또는 내가 알지 못하는 것)를 실행할 필요가있다. – Warpzit
@Warpzit 저는 애플 리케이션이 엔터프라이즈 정책을 시행 할 수있는'Device Administration' API를 사용해야한다는 것을 확신합니다. http://developer.android.com/guide/topics/admin/device-admin.html – kaderud