How to catch selected value from Android Menu Radio Values
<p>I've created a radio button menu list .. </p>

<pre><code>    final CharSequence[] items = { "3 sec", "5 sec", "7 sec" };

    AlertDialog.Builder builder = new AlertDialog.Builder(this);
    builder.setTitle("Change Wallpaper Every..");
    builder.setSingleChoiceItems(items, -1,
            new DialogInterface.OnClickListener() {
                public void onClick(DialogInterface dialog, int item) {
                    Toast.makeText(getApplicationContext(), items[item],
                            Toast.LENGTH_SHORT).show();
                }
            }); 

    AlertDialog alert = builder.create();
    builder.show();
</code></pre>

<p>what I want to do is to catch the selected value from the above Char Sequence and to put to a variable . </p>
