title: Android get all countries on array spinner
body: <p>I've searched a lot but the stuff I found was a little confused.</p>
  
  <p>I need to get the android country list and set default the user locale.</p>
  
  <p>For example:
  I'm registering an user account and I need to insert the country, in that spinner will show all countries but by default will appear my default locale.</p>
  
  <p>Right now I have:</p>
  
  <pre><code>private Spinner spCountry;
  private String array_spinner[];
  </code></pre>
  
  <p>...</p>
  
  <pre><code>spCountry = (Spinner) findViewById(R.id.spCountry);
  
  array_spinner = new String[1];
  array_spinner[0] = "Portugal";
  
  ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, array_spinner);
  spCountry.setAdapter(adapter);
  </code></pre>
  
  <p>Thank you all for the help!</p>