On Thu, May 6, 2010 at 4:57 PM, redders <[email protected]> wrote:
> Essentially I want to call a method in a service when my notification is > clicked. > One idea: When creating the notification set the intent to launch the very same service but with a flag or action or something that indicates that the service should stop the connection. When the notification is clicked, it should call the service's onStart() method with the intent, which you can check for the flag or action. If it exists, it's a signal to stop what you're already doing. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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

