File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Radio Group selection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Radio Group selection" Watch "Radio Group selection" New topic
Author

Radio Group selection

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 603

Hi ,

How to get selected item from Radio Box ?


Hope you are doing well !!!
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
Ask the RadioGroup for its getCheckedRadioButtonId() value. That will tell you the ID of the checked RadioButton out of the group.


Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development http://commonsware.com/Android/
 
 
subject: Radio Group selection
 
MyEclipse, The Clear Choice