title: osmdroid bonus pack reverse geolocation
body: <p>I'm trying to find some example about reverse geolocation with osmdroid but can't find any. The same thing happens with osmdroid bonus pack.
  Can somebody help me please? </p>
  
  <p>Here is the logcat info:</p>
  
  <pre><code>10-07 12:11:48.340: W/dalvikvm(5543): VFY:  rejected Lorg/osmdroid/bonuspack/location/GeocoderNominatim;.getFromLocation (DDI)Ljava/util/List;
  10-07 12:11:48.340: W/dalvikvm(5543): VFY:  rejecting opcode 0x0d at 0x007a
  10-07 12:11:48.340: W/dalvikvm(5543): VFY:  rejected Lorg/osmdroid/bonuspack/location/GeocoderNominatim;.getFromLocation (DDI)Ljava/util/List;
  10-07 12:11:48.340: W/dalvikvm(5543): Verifier rejected class Lorg/osmdroid/bonuspack/location/GeocoderNominatim;
  10-07 12:11:48.340: D/AndroidRuntime(5543): Shutting down VM
  10-07 12:11:48.340: W/dalvikvm(5543): threadid=1: thread exiting with uncaught exception (group=0x40c2a1f8)
  10-07 12:11:48.340: E/AndroidRuntime(5543): FATAL EXCEPTION: main
  10-07 12:11:48.340: E/AndroidRuntime(5543): java.lang.VerifyError: org/osmdroid/bonuspack/location/GeocoderNominatim
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at com.aiscad.bustiaciutadana.MapActivity.getMyLocationAddress(MapActivity.java:242)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at com.aiscad.bustiaciutadana.MapActivity.dispatchTouchEvent(MapActivity.java:135)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2016)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at  android.view.View.dispatchPointerEvent(View.java:5890)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3136)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2678)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:1036)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2687)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.os.Handler.dispatchMessage(Handler.java:99)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.os.Looper.loop(Looper.java:137)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at android.app.ActivityThread.main(ActivityThread.java:4507)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at java.lang.reflect.Method.invokeNative(Native Method)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at java.lang.reflect.Method.invoke(Method.java:511)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
  10-07 12:11:48.340: E/AndroidRuntime(5543):     at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>And here is the code:</p>
  
  <pre><code>String theAddress;
      try {
              GeocoderNominatim geocoder = new GeocoderNominatim(getBaseContext());
              double dLatitude = latitude;
              double dLongitude = longitude;
              List&lt;Address&gt; addresses = geocoder.getFromLocation(dLatitude, dLongitude, 1);
              StringBuilder sb = new StringBuilder(); 
              if (addresses.size() &gt; 0) {
                      Address address = addresses.get(0);
                      int n = address.getMaxAddressLineIndex();
                      for (int i=0; i&lt;=n; i++) {
                              if (i!=0)
                                      sb.append(", ");
                              sb.append(address.getAddressLine(i));
                      }
                      theAddress = new String(sb.toString());
                      direccion = theAddress;
                      Log.d(TAG, "direccion: " + theAddress);
              } else {
                      theAddress = null;
                      direccion = null;
              }
      } catch (Exception e) {
              theAddress = null;
              e.printStackTrace();
      }
  </code></pre>