On 2012.01.24 10:09, PVoLan wrote:
Mmmm, can you provide some code? Can't find something useful for me here (
http://mono-for-android.1047100.n5.nabble.com/Xamarin-Samples-Google-Maps-td5178021.html
)
Sorry I'm not ready to push it to github. It is whole app and while Xamarin sample works,
ma sample has some problems...

Occasional problems (when repeated - usually inidcates API key problems), but right now
it might be connection error:


MonoDevelop log:

W/System.err(14052): IOException processing: 26
W/System.err(14052): java.io.IOException: Server returned: 3
W/System.err(14052): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) W/System.err(14052): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) W/System.err(14052): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) W/System.err(14052): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) W/System.err(14052): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
W/System.err(14052): at java.lang.Thread.run(Thread.java:1019)


Some other (which I get in my App):

W/MapActivity(14052): Recycling dispatcher android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher@40566c60
V/MapActivity(14052): Recycling map object.
I/MapActivity(14052): Handling network change notification:CONNECTED
E/MapActivity(14052): Couldn't get connection factory client

I'm about to insert Your code for exception handling, but I think exception is swallowed somewhere in MapActivity...

Xamarin sample it seems that following error does not stop Map from working:

I/MapActivity(15987): Handling network change notification:CONNECTED
E/MapActivity(15987): Couldn't get connection factory client


Following error causes rendering like there is problem with API key (grey+raster), but after some time it might show actual map, or sometimes it helps to exit MapView and
return back to it...

W/System.err(15987): IOException processing: 26
W/System.err(15987): java.io.IOException: Server returned: 3
W/System.err(15987): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) W/System.err(15987): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) W/System.err(15987): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) W/System.err(15987): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) W/System.err(15987): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
W/System.err(15987): at java.lang.Thread.run(Thread.java:1019)


I'll try to investigate it further with code for Unhandled exceptions.
First I'll write a code snippet for handling, sorry I'm lazy.

regards

mel

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Catch-all-the-exceptions-tp5165993p5281176.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://www.holisticware.net

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to