what is the efficient way to populate state spinner according to country spinner
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8078654/dynamic-spinners-state-city">dynamic spinners state/city</a>  </p>
</blockquote>



<p>i am new to android. i am learning the basic concepts.</p>

<p>Right now i am trying to develop an application which asks the </p>

<p>1:name(EditText)</p>

<p>2:number(EditText). upto that i had done. </p>

<p>3:after that i want user to select a country(Spinner).</p>

<p>4: Once a country is selected, i want to populate my state(Spinner) according to selected country.</p>

<p>I did not want to save those details, i just want to give an alert with all input details.</p>

<p>now, how can i efficiently do that task. do i need to use SQLite, or anything else?</p>

<p>Plz suggest an efficient way.</p>
