is getting mapview working without api key possible on Android? - android

I am creating app to only show information about me, I wanna show the location on the map, then user can go from the mapview to the google maps to navigate if he wanted.
So, I dont wanna navigate, i dont wanna use maps api, i dont wanna use api key.
I just want to show a mapview then user can switch from the mapview to google maps.
is that possible ?

API_KEY is the way of Google to track number of Users using Map API and also promote new features and updates. I don't find any reason why you don't want to use API_KEY.
Follow this tutorial which has Graphic content to use API_KEY to generate Maps.

I wanna show the location on the map
To do this, you need to interact with the map.
To be able to interact with the map you need an API key.
So no, that's not possible.

Related

Android: Open default google map application and get the pinned location back

I want to open the default google maps application from my application, let the user pin a location, and get the pinned location details back to my application.
somekind of startActivityForResult(), where the result data would be a latitude,longitude or anything like that.
is there a way to do this? is it possible?
PS: I already know/worked with the maps sdk, but in this application this is the only use case with maps, that's why i can't afford using the sdk.
No, you can't do that with the Google Maps app. Here's a PlacePicker library that accomplishes this task though:
https://github.com/suchoX/PlacePicker

How to post a marker on Google Maps and have it so other users can see the marker?

Does Google Maps already handle user interaction?
I'm able to post a marker onto my map activity but I can't test the app (I don't have another phone) to see if another 'user' can see the freshly posted marker. I feel like it's just private right now, so only the user who posts the marker can only see his/her marker.
Do I need to set up a Backend with Cloud Endpoints? If so, are there any answers on stackoverflow that could show me the DO's and DON'Ts ?
I don't know if I have really understood your question, but I think you have two way.
You can create a map on google maps in Google My Maps and link use this map (or link it)
or
your app had to ask your server for the position of the marker, so you have to implement a little web service that saves your marker position and calls it when your app put a marker on the map, and before loading the map you have to download the marker positions.

Shared Google Map Between All Users on Mobile

I was trying to work on creating a shared map for all users by using the Google Maps API. I would like User A to be able to see User B on the map, assuming User B is sharing his location. How can this be accomplished using Google Maps API on Android or iOS? This would basically resemble the Uber application where the costumers can see the drivers on the map.
As far as I know this functionality isn't really available through the API. What you could do is check if the user's location is available for sharing. Then using your own backend, most likely a MBaaS, share the location data with people they allowed access to their location. Then you could just draw a marker on the map representing the user

Navigating& providing directions to a user's GPS location

I've read Google's API policy on Location Services & Maps API, they do not allow one to make an app that provides directions to a user's location. I however wish to make such an app. I know I need to use a third party Maps API, but im unsure if this sort of app would be allowed on the play store.
I've searched extensively. The only references to this not being allowed in the the Maps API terms of service, but no where else. +
The idea is simple, one person sends a request to another, and they track each other with directions provided to find them.
Revalent reddit post by myself.
http://www.reddit.com/r/androiddev/comments/2qcm22/would_i_get_in_trouble_w_googles_policys_if_i/
I do not understand that it is difficult , you can use Google maps , first try to get another exact coordinates of latitude and longitude , and put them on a Google map , then make getting location via satellite.

Google Map needs an API or not?

If I need to lead someone to an address, I'll lead him through Google Maps .. so I code on applications some button link, when I click/thumb it, it will go to "Google map" to a coordinate 29.897717,31.203264 which aim at that place only, the question is, do I need an API for it?
No you don't need an api to navigate users. You simply start an intent.
Android Navigation intent

Categories

Resources