Hi, from a couple of days the library geocoder always returns an empty array, using any pair of coordinates.
I did the test with the test program (demo geocoder).
The following is a piece of the log file
Thanks
B4X:
Results=Geocoder1.GetFromLocation(Latitude, Longitude, MaxResults)
If Results.Length>0 Then
The following is a piece of the log file
can anyone help me?java.io.IOException: Service not Available
at android.location.Geocoder.getFromLocation(Geocoder.java:136)
at uk.co.martinpearman.b4a.location.GeocoderWrapper.GetFromLocation(GeocoderWrapper.java:46)
at uk.co.martinpearman.b4a.geocoderdemo.main._button1_click(main.java:343)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:165)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:153)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:149)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:55)
at android.view.View.performClick(View.java:3591)
at android.view.View$PerformClick.run(View.java:14263)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
Thanks