ping! is the documentation out of date? or am i not understanding how to use finishOnBackground?
On Mon, Dec 8, 2008 at 2:48 PM, Adam K <[EMAIL PROTECTED]> wrote: > > Hi all, > > I want to do the following for a notification type activity that > should be removed/closed from the system either via a button in the > activity, or the user leaving with back or home: > > from - http://code.google.com/android/intro/appmodel.html > Another approach you can take is to set the notification activity's > task affinity to the empty string "" (indicating no affinity) and > setting the finishOnBackground attribute. ... By specifying this > attribute, the activity will be finished whether the user leaves it > with BACK or HOME; if the attribute isn't specified, pressing HOME > will result in the activity and its task remaining in the system, > possibly with no way to return to it. > > However, I don't see any other references in the docs to > finishOnBackground - the link on that page takes me to > finishOnTaskLaunch instead. Any ideas? > > Thanks, > > Adam > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---