title: Cannot convert from String[] to String
body: <p>Here is my code.. I want to find just a name of city from latitude and longitude.. 
  Now i get this : </p>
  
  <pre><code>"Address[addressLines=[0:"Mustamäe tee 145",1:"12918 Tallinn",2:"Estonia"],feature=145,admin=Harju County,sub-admin=null,locality=Tallinn,thoroughfare=Mustamäe tee,postalCode=12918,countryCode=Estonia,countryName=null,hasLatitude=true,latitude=59.4123264,hasLongitude=true,longitude=24.6903851,phone=null,url=null,extras=null]"
  </code></pre>
  
  <p>I tried to convert it to string and split it.. i made a String array but when i try to assign "cityName" to String array "name" I get this error - "Type mismatch: cannot convert from String[] to String"</p>
  
  <p>Can you tell me please where am I wrong?</p>
  
  <pre><code>import java.io.IOException;
  import java.util.List;
  import java.util.Locale;
  import android.content.Context;
  import android.location.Address;
  import android.location.Geocoder;
  import android.location.Location;
  import android.location.LocationListener;
  import android.location.LocationManager;
  import android.os.Bundle;
  public class GPSHelper {
  static double latitude;
  static double longitude;
  static String[] name = new String[5];
  
  public static void getCity(LocationManager lm, Context appContext) {
  
      Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
      longitude = location.getLongitude();
      latitude = location.getLatitude();
      final LocationListener locationListener = new LocationListener() {
          public void onLocationChanged(Location location) {
              longitude = location.getLongitude();
              latitude = location.getLatitude();
          }
  
          public void onProviderDisabled(String arg0) {
              // TODO Auto-generated method stub
  
          }
  
          public void onProviderEnabled(String arg0) {
              // TODO Auto-generated method stub
  
          }
  
          public void onStatusChanged(String arg0, int arg1, Bundle arg2) {
              // TODO Auto-generated method stub
  
          }
      };
  
      lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 2000, 10, locationListener);
  
      double latitude = location.getLatitude();
      double longitude = location.getLongitude();
      Geocoder userLocation = new Geocoder(appContext, Locale.getDefault());   
      List&lt;Address&gt; cityName;
      try {
          cityName = userLocation.getFromLocation(latitude, longitude, 1);
          if(cityName != null &amp;&amp; !cityName.isEmpty()) {
              for(int i=0; i&lt;5; i++){
  
              name[i] = cityName.get(0).toString().split("");
  
              }
          }
      } catch (IOException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
      }
  }
  
  }
  </code></pre>