You mean you want to fire some action based on which RadioButton is Clicked rite... If that is the case use *isChecked() method* in your Button.ONclick Listener....Hope it helps
Regards Chethan On Tue, Jul 13, 2010 at 9:01 PM, anil kukreti <[email protected]>wrote: > use the setChecked(boolean) method for particular radiobutton which you > want to get selected on clicking submit button > > > On Tue, Jul 13, 2010 at 9:48 AM, perumal316 <[email protected]> wrote: > >> Hi All, >> >> In my application I have a RadioGroup within which has 2 RadioButtons >> Then I have another 'submit' button. >> >> Upon clicking submit button I want to do tasks based on which button >> is selected in the RadioGroup. >> >> I can do this when there is no RadioGroup involved and there are only >> 2 buttons but with RadioGroup nothing happens when I click submit >> button. >> >> Any idea how to resolve this? >> >> -- >> 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]<android-developers%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > > -- > Thanks for Cooperating! > Anil Kukreti > > Network transforms ideas to reality. > 09312646623 > Linked In : http://in.linkedin.com/in/anilkukreti > Skype Id : anil.kleward > > -- > 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]<android-developers%[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

