title: Getting the values from a selected radio button and passing them to new activity
body: <h2>How to get the text of selected radio button(I have Customized)</h2>
  
  <p>I have a set of radio buttons in a group as below</p>
  
  <ul>
  <li>breakfast</li>
  <li>lunch</li>
  <li>dinner</li>
  </ul>
  
  <p>Out of these only one will be selected Because they are radio button group</p>
  
  <p><img src="https://i.stack.imgur.com/HXsNV.png" alt="img"></p>
  
  <p><em>How to get the text of selected radio button and pass them as intent to next activity</em> </p>
  
  <p><strong>Any Ideas ?</strong></p>
  
  <hr>
  
  <p>I know how to pass the intents to next activity by getting a value from <code>Edittext</code> but not able to do this for <code>radio button group</code> !</p>
  
  <p><strong><em>What i have tried</em></strong>
  <strong>this is how i did for getting the values from edit text</strong> ::</p>
  
  <pre><code>EditText City;     
  Search=(Button) findViewById(R.id.SEARCH_BUTTON_ID);
              Search.setOnClickListener(new OnClickListener() {
  
                  @Override
                  public void onClick(View v) {
  
                      Intent searchIntent=new Intent(SearchPage.this,AndroidTabRestaurantDescSearchListView.class);
                      searchIntent.putExtra("REST",City.getText().toString());
                      startActivity(searchIntent);
                  }
              });
  </code></pre>
  
  <h2>How can i achieve this same for as i mentioned in radiobutton group !</h2>