Thanks a lot again for a very quick reply!! You are a life saver :-)

On Apr 22, 4:02 pm, Mark Murphy <[email protected]> wrote:
> Ajay wrote:
> > Hi,
> >    I have an AlertDialog with a list of selectable items and a OK
> > button. How can I get the selected option, when the user clicks the OK
> > button?
>
> Try calling getListView() on the AlertDialog. From there, you should be
> able to call getCheckedItemPosition().
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Consulting:http://commonsware.com/consulting
>
> --
> 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 
> athttp://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

Reply via email to