Hi All,

         I am trying to design a scenario where my Launcher Activity has 
multiple button components on Action bar. On click on each button component 
I need to execute a piece of logic and based on the logic I need to start 
new activity corresponding to the respective button clicks.

In order to achieve this I plan to use Bound service where on click of 
buttons I will form the intent that will content necessary data for 
respective button clicks. Then I will pass the intent to the public method 
in the service. This public method will first perform logic piece by 
getting data from the intent and then start respective activity based on 
the logic. 

Is this better way to design my requirement or I should be looking on other 
design approach. Attaching whiteboard diagram to explain my scenario.

Thanks,
Jiten

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to