[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2012-09-11 Thread Swap
I am also looking for same solution.. Thank you for information. can you please share your working code .please thank you On Sunday, 20 June 2010 05:34:19 UTC+2, Gabriel Simões wrote: Thanks, Works as expected! On 16 jun, 05:31, a2ronus a...@theipcompany.nl wrote: 1. Register a

[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2010-06-19 Thread Gabriel Simões
Thanks, Works as expected! On 16 jun, 05:31, a2ronus a...@theipcompany.nl wrote: 1. Register a BroadcastReceiver that listens for a specific Intent. 2. When the user clicks on the Notification, the PendingIntent will be launched. You can put extra's in this Intent. You can use the extra's to

[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2010-06-16 Thread a2ronus
1. Register a BroadcastReceiver that listens for a specific Intent. 2. When the user clicks on the Notification, the PendingIntent will be launched. You can put extra's in this Intent. You can use the extra's to determine which method will be launched in the Service. Good luck, a2ronus On Jun

[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2010-06-15 Thread Gabriel Simões
any ideas on this one? tnx On 14 jun, 21:33, Gabriel Simões gsim...@gmail.com wrote: I need to send it to a service. How can a notification message start an specific action (method) on a service? is that possible (for example ... a service downloading a file would stop the download as the

[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2010-06-14 Thread Gabriel Simões
I need to send it to a service. How can a notification message start an specific action (method) on a service? is that possible (for example ... a service downloading a file would stop the download as the user clicks on the notification)? tnx On 14 jun, 00:21, Kumar Bibek

[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2010-06-13 Thread Kumar Bibek
Broadcast will only work if your activity is in the foreground. If your activity is not yet started, you can however start it with specific data passed via bundle and in the onCreate() do specific task. If your activity is currently in the foreground, you need to listen to broadcasts. Thanks and