Hello, I wanted to open google maps with this value, I have to use some api? it’s because let way is not working
What happens exactly??You don’t need to use an api.Have you followed this tutorial?
When I squeeze n takes me nowhere, nothing happens
Ofc there is an error happening.Just click the red errro button on startActivity block and tell us what is the error.
Can you tell me what error appears?
Also Can you provide a test aia which it isn’t working there?
what is the value of data uri at last ?
which is searchable in google
what about the URL ??
What do you mean, you don’t know? what url? Are you talking about this? http://maps.google.com/maps?saddr=
Can you send me an aia.Also what are the values you are adding as a longitude and a latitude?
you have use join blocks.
so, show the remaining url
i think you are taking wrong URL ?
Use this URL - https://www.google.com/maps/@28.6359552,77.2308992
join - https://www.google.com/maps/@
- get latitude as 28.6359552
- ,
- get longitude as 77.2308992
That should work perfectly It’s working for me as well
https://www.google.com/maps/@?api=1&map_action=map¢er=lat,lng
From google apis website
And btw, if you want you can play with other parameter like changing the map type,zoom,etc…
If you are interested see here:
And
https://developers.google.com/maps/documentation/urls/android-intents
error continues when you press to open google maps
Can you send an aia?It should work