Error displaying map in Android application using maps application -
i building xamarin android app display map. not want use google maps trying maps application in-built. please see code below create intent , invoke using startactivity:
var geouri = android.net.uri.parse("geo:42.374260,-71.120824"); var mapintent = new intent(intent.actionview, android.net.uri.parse("geo:42.374260,-71.120824")); startactivity(mapintent);
i error on startactivity statement activitynotfoundexception. if change uri regular webaddress (http://www.google.com) app displays website. believe problem parsing geo address.
i have included following references:
using system; using android.app; using android.content; using android.runtime; using android.views; using android.widget; using android.os; using android.locations; using android.net;
please let me know missing .
thanks !
Comments
Post a Comment