android - Intent for Google Maps 7.0.0 with location -
at first know there several similar questions on stackoverflow. curriently use geo scheme addressing points can handled other apps.
like in example of android documentation (by way seems outdated rfc out!) tried use this:
geo:50.95144,6.98725?q=50.95144,6.98725%20(disneyland)
so intent chooser can select app showed me in case of google maps disneyland marker on it. seems update installed removes support. message place cannot been found.
i tried understand rfc 5870 defines 'geo' uri scheme. don't exactly. correct not possible @ define lable?
how can link position google maps?
the whatsapp intent is:
start u0 {act=android.intent.action.view cat=[android.intent.category.browsable] dat=https://maps.google.com/maps?q=loc:lat,lng+(you)&rlz=1y1txls_ende543de543 flg=0x3000000 cmp=com.android.browser/.browseractivity (has extras)} pid 2115
so if use following intent uri:
string geouri = "http://maps.google.com/maps?q=loc:" + lat + "," + lng + " (" + mtitle + ")";
...it should behave whatsapp. furthermore seems other geo apps trigger on intent too. doesn't work geo apps!
Comments
Post a Comment