Hello Everybody,
I´m having the following issue.
The ApplicationManager is killing the process of my application when the
user presses on "FORCE STOP" on the Aplication Manager.
MENU-> SETTINGS -> APPLICATIONS -> MANAGE APPLICATIONS -> My APP .> FORCE
STOP.
According to the documentation a broadcast action is sent:
Intent.ACTION_PACKAGE_RESTARTED
Broadcast Action: The user has restarted a package, and all of its processes
have been killed. All runtime state associated with it (processes, alarms,
notifications, etc) should be removed. *Note that the restarted package does
not receive this broadcast.* The data contains the name of the package.
How can I listen that action in my application; I have tried creating a
BroadcastReceiver on my package, but the onReceive() is not called.
I added the following to my receiver on the manifest, but nothing changed.
<receiver android:name=".MyReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_RESTARTED"/>
</intent-filter>
</receiver>
Emy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---