In android we always use RadioGroup for RadioButton and get value of the  selected radio button. check below code to know how we do this

You can use above code inside your onCreate method or any other method. In this first i find RadioGroup Id and after when user click on button we find Selected Radio button from group and save its id in a variable and find the selected radio button value.