http://www.catb.org/~esr/faqs/smart-questions.html
Send different intents to the service? That adds which groups and which button? But I have no idea of what you are after. On Sat, Jun 2, 2012 at 8:32 AM, Bhavin <[email protected]> wrote: > Dear Sir, > > in my application,i have 24 Buttons [12 group of Two [12 * 2], 1 for > SET & Other for Reset]. > > > ----------------------------------------------------------------------------------------------------------------- > [Group 1] > I am having requirement to Start service on Click of Button 1. > > and stop same service by clicking on Button 2. > > ----------------------------------------------------------------------------------------------------------------- > > [Group 2] > same is for Button 3 & Button 4. > > ----------------------------------------------------------------------------------------------------------------- > and so on.. > > Code of each service is same,but it changes the name of flag. > > moreover,say button 1 start service,should not stop when i press > button 4 [for OFF] > > Because they are from different group. > > Do i need to create 12 service for each,group.Or any other idea. > > Thanks for help in advance. > > :) > > -- > 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 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

