The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

Sharing place from Google Maps missed

Any question about the app? Ask it here
Post Reply
jidanni
Posts: 353
Joined: Sat Mar 07, 2015 6:44 am
Contact:

Sharing place from Google Maps missed

Post by jidanni »

Many apps appear responsive to this share. All except your app.

Code: Select all

intent:#Intent;action=android.intent.action.SEND;category=android.intent.category.LAUNCHER;type=text/plain;launchFlags=0x10000000;S.android.intent.extra.SUBJECT=24%C2%B011'00.4%22N%20120%C2%B042'54.8%22E;S.android.intent.extra.TEXT=24%C2%B011'00.4%22N%20120%C2%B042'54.8%22E%0Ahttps%3A%2F%2Fgoo.gl%2Fmaps%2Fmuyq5asUJUNYPSCNA;end
jidanni
Posts: 353
Joined: Sat Mar 07, 2015 6:44 am
Contact:

Re: Sharing place from Google Maps missed

Post by jidanni »

To the user, it seems he is just sending a longitude and latitude, and hoping some app will pick up on it.

All I did was press the share button here:
Screenshot_20230127-122135_Maps.jpg
(338.3 KiB) Not downloaded yet
jidanni
Posts: 353
Joined: Sat Mar 07, 2015 6:44 am
Contact:

Re: Sharing place from Google Maps missed

Post by jidanni »

Okay, it just seems we are sharing these kind of strings "Value: No. 81, Jiangong Ln, Beitun District
https://maps.app.goo.gl/FiVobBunmvmA3u1D8".

So the only way your app could locate such a point would be to go online and connect to Google and resolve the URL to pick out the real longitude and latitude.
jidanni
Posts: 353
Joined: Sat Mar 07, 2015 6:44 am
Contact:

Re: Sharing place from Google Maps missed

Post by jidanni »

You could use the HTTP HEAD command.
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Sharing place from Google Maps missed

Post by Psyberia-Support »

I'm sorry but it doesn't make sense to respond when the user share a text, this is the job of text and messaging apps.
The app already responds to all common ways to share places and coordinates (in particular "geo:" intents that are exactly made for this).
Do you like AlpineQuest ? Leave a small comment on Google Play !
Post Reply