Link to obtain Google Map Key is not available - android

I have extracted MD5 fingerprint .Now I want to obtain the Google Map key but link is not working. I found http://code.google.com/android/maps-api-signup.html in Wei-Meng leebook Beginnining Android 4 Application Development latest publication to get the Google Map key.Can anyone update the new link to get the Google Map key. I googled it but not able to find it.

Here is screen shot for creating map key
make sure u hv this :

Use this link...and go to Services turn on the service named Google Maps Android API v2,
then go to API Access
Now Click on Create New Android Key
after that Paste your SHA1 key ; and your project's package name
for ex: YOUR_SHA1_KEY;com.example.xyz
And lastly click on create.It will generate your google map key for you.

You have to refer Google official site.
You can also refer step by step process how to generate google map api key and used using this So question.
If you are reading careful then 100% your problem is solve.
If any query then put comment.Happy coding.

Related

google map api doesn't works with my code

i am using an open source to create city guide application
this source code has a backend which use maps api and it use map api inside the code itself .
it was working well in backend and the apk until i had to change the google cloud account and created another apis from new account .
but now the api which i am using in backend works well , but the another api which i use in source code doesn't works and it shows empty map .
here is the api's setting :
1- Application restrictions : android apps
- i add package name
- i add SHA-1
2- API restrictions Maps JavaScript API Maps SDK for Android Maps
Static API
note : i add a payment in my Billing profile .
i think i did all thing right but don't know why it was working and now it doesn't works
i solved it
the problem happened because i was using SHA-1 for debugging
when i looked at Logcat i found there is another SHA-1 key i should use for release

How generate API Key for Baidu Maps

I started to migrate my Android app to Chinese Markets and I'm replacing Google Maps with Baidu Maps, but I have problems when try to create an API key for use it.
I followed the instructions that described in this previous StackOverflow question, How can i generate an API key for Baidu China for an website store locator?. But in 2017, Baidu's changed their flow to create an API Key, and they added a step called "百度地图开放平台开发者注册 / Baidu map open platform developer registration" where they request to the user, a chinese cell phone, that i haven't.
I'm searching in the internet for more information about that but I can't find anymore that I know. If someone can help me, you're welcome!.
PD: Sorry about my english, I'm taking english class but I didn't finish yet.
New step Image
You can get the ak from the action that create a new application and put your need properties in that. When you create successfully, you will get the ak in this page.

Getting Google Places API key for Android

Over the Past week i have been trying to Implement Google Places API for android , Google's developer page says that i need a api key and after researching many forums I got confused as to what key should I be using I tried using the Browser key, the Server Key and also the android Key, nothing seems to be working for me, I have already been able to use The Google Maps API v2 using the android key, but i am really confused, can someone help me out? The Webpages that i have been referring to are :
First [Link][1]
and Second Link
Please help me out ,also I am trying to develop the android app using Eclipse and ADT so some of the latest forums become obsolete for me, and since Google keeps changing the layout of their developer console its hard to keep a track of the older Guides Provided here
Thank You
This is what I have Done
As you can see I have enabled Places API
[enter image description here][4]
How about u directly read developer Guide for the keys u r so confused. I'm sure its gonna help just go through it once.
Below are the step to create places api key for Android.
Go to Google API console.
Click on the dropdown and select 'create a project'.
Enter Project Name.
now click on Navigation drawer and select API Manager.
Enable google places api.
Create Credentials Android Key.
Enter Key Name and then hit create.
Now u can use the Android key for google places api.
Now u can request for nearby places checkout this url.
It takes SERVER_Key
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=yourlatitude,yourlongitude&radius=5000&sensor=true&key=SERVERKEY
Click on New Credentials.
Select Server_key.
Enter IP if u want it for testing purpose otherwise leave it blank.
finally click on create.
now thats ur server_key. It takes sm time for google to activate the service so u may get an error "The provided API key is expired" while requesting places. Check it out after sm time and u shd be getting places response.
https://developers.google.com/android/ see what you cant to create .

android map v1 signing key

I have an built an application 6 months ago that uses google maps v1. Now I want to publish it in the Google Play Store
When I was working on it I did the procedure required to obtain a key. As far I remember I used the cmd to generate a MD5 that I pasted in a site.
I have saved the file with the result which is something like that
letersandnumbers
This key is good for all apps signed with your certificate whose fingerprint is:
hex:hex:hex:hex:hex:hex:hex:hex:hex:hex:hex:hex:hex
Here is an example xml layout to get you started on your way to mapping glory:
<com.google.android.maps.MapView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="letersandnumbers"
/>
When I compile and run the application on my phone that is on debug mode, it works.
When I try to use the letersandnumbers as a key to sign my application the result is different. The application shows only grid and not the map.
The way I sign my application is the following:
1)File->export->android application
2) I select the project and use the lettersandnumber key mentioned
above.
3) I put the file on the SD card of the device and install it.
Am I doing something wrong?
Please help! Switching to maps v2 is not an option
UPDATE:
I managed to follow the guide Daniel writes about in the comment. However when I use the new key in the manifest and sign the app with this new Key it does not work...
I am trying to use maps version 1.
You will not have any success using maps API v1. It is deprecated since december and you can't get new keys since march. Rework your app to use API v2.
Sounds like you need to generate the hash key for your signed cert. From what you explained it seems like you have added the hash for your debug key cert only which is why when your debugging the maps work. So once again, you need to run the keytool command.
keytool -list -v -keystore mystore.keystore
This time make sure you refer to the keystore your using to sign your app when you export it. Then enter the new hash into the google API console -> API ACCESS -> Create new Android Key. You'll be given a new API key that you will need to add to your maps entry in the layout.xml file you referenced above.

Google Map Api V2 not showing Map on device

I am running sample code that is provided on Google Map Documentation for Google Map Api v2.The Code run successfully but Map is not loaded on the Device. Only White Screen is Shown on the Device. I am using 2.3.6 version android device.
Please Help me to resolve the issue
Check if u have the map key for the package name u provided while creating the map key.
I was getting white map screen but i inserted map key of the package i was testing.
Then i created new project but used the previous map key hence getting white screen.
Always remember you have to use new map key for each package you create. Genereally people forget that thing..(atleast i forgot to generate new key for new package).
Hope this will solve ur problems.
All the best
Most likely you're using release SHA1 fingerprint for generating Google API Key. Since you're using Eclipse for debugging your application is signed using debug key. So, you should use debug key instead to generate Google API key.
As soon as your app will be ready for publishing - just switch to release key.

Categories

Resources