Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Launching Google map Intent on Android 9 crashes with Exception

$
0
0

Hi,

When I try to open Google Map application Xamarin forms application using following code it crashes with "Timeout exceeded getting exception details" on Android 9(Pie). It works fine for earlier version of Android like 8.1,8.0 etc.

The Xamarin forms version we are using is 4.0.0.497661.

var geoUri = Android.Net.Uri.Parse("geo:42.374260,-71.120824"); var mapIntent = new Intent(Intent.ActionView); mapIntent.SetData(geoUri); Android.App.Application.Context.StartActivity(mapIntent);

Can anyone guide me on how to fix the same? It's urgent.


Viewing all articles
Browse latest Browse all 89864

Trending Articles