i am trying to run google map tutorial using following link
http://mobiforge.com/developing/story/using-google-maps-android
followed all steps but when i try to run this application it does not display anything except boxes and zooming button
can any one guide is there any thing i am missing?? i have obtained new google map key from google website too.
finally i got my answer,
i had not created MD5 Certificate thats why it was showing only boxes after create MD5 certificate everything is working fine.. :D
the procedure is given below.......
keytool.exe -list -alias androiddebugkey -keystore D:\Androidkeystore\debug.keystore -storepass android -keypass android
if you have not set environment variables for java in your machine then above command wont work or you will have to go to the bin directy of your java folder in program files to run above command.
by copy pasting debug.keystore file from builtin folder to user friendly folder and ran it.
and finally i got the md5 certificate.
yup this is a symptom of not having a google maps api key for your application.
As I'm sure your aware you can find everything you need here for obtaining a google maps api key.
Related
I follow this link: Here
But when i run in my device. Can not show map. It's just show white screen with logo google at left.
Some body can help me please? Sorry because my english.
Create debugging API key and Release API key.
Step 1:
In Commend Prompt
Now locate to jdk in C drive(Considering for windows and assigning C drive)
C:\Program Files\Java\jdk1.7.0\bin>keytool -list -v -keystore E:\A.keystore -alias A
So it will create SHA-1 finger print.
A.keystore is an Keystore, for debugging this file found in C:\Users\User\.android file name is debug.keystore, for release you created the Keystore file.
Step 2
Go to google api console.
Generate new api key for android you have to used this SHA-1 and current playstore package name.
Put Api key into your map.
I'm new to developing Android apps and I wanted to create a Google map inside of a Fragment. So far I've gotten the part where I need the API key and I'm confused by the instructions from the Android developer site and everything I've found online hasn't cleared my confusion.
Could someone provide me with a step by step of how to get my SHA1 fingerprint on Windows 7?
You cannot obtain the API_KEY until you get your SHA1.
Click here to get a nice tutorial that will guide you step by step with images (Specifically when you are operating on Windows 7).
Hope this would Help!!
There are two kinds of fingerprints, debug and release. Assuming you want a release one, then from a console window, you need to run this command to get the fingerprint
keytool -exportcert -alias MY_RELEASE_KEY_ALIAS -keystore MY_FULL_PATH_TO_RELEASE_KEYSTORE_FILE -list -v
The keytool program is in your JDK bin folder. So on Windows, something like C:\Program Files\Java\jdk1.8.0_20\bin is where you should find keytool
Last thing to note is that MY_FULL_PATH_TO_RELEASE_KEYSTORE_FILE in the command above should be the full path to your .keystore file, including the file name
After all that, you will be finally be provided with several fingerprints, including the SHA1. You can copy that, and go back to Google Developers Console and paste it as a new line in the allowed Android Applications, with your package name added to the end, separated by a semi-colon.
The new app creation page in foursquare asks me for Android HasKeys. It looks very similar to the SHA1 key. is it the same. Else How do I get a android Hash key?Attached pic from the website. The command also given below. How do I get mystore.keystore? Should I register in google developer site to get one? Please help
keytool -list -v -keystore mystore.keystore
Open a command prompt from your jre/bin folder by holding shift and right clicking it will say open comand prompt here. Then input your file path to your key store. If that doesn't work try this http://limbaniandroid.blogspot.com/2013/04/how-to-get-hash-key-for-integarte.html?m=1#comment-form
But that looks like it want your md5 thumbprint that you can see as you sighn your app in the last screen in eclipse.
look at this
How do I generate my MD5 and SHA1 thumbprints using eclipse for debug keystore (Android)
I got the debug.keystore SHA1 key with no problem, but I can't get for release keystore. I keep getting this (see image) instead of the wanted list with info. I'm following the guide here: https://developers.google.com/maps/documentation/android/start?hl=da#the_google_maps_api_key
I use this command:
keytool -list -v -keystore C:\keystore.keystore\ -alias jakob harteg
I had to use a cmd window and go to the bin folder of the Java installation folder C:\Program Files\Java\jre7\bin, otherwise I wasn't able to access the keytool. I tried moving keystore to the root folder, but without luck.
Any help? Thanks very much!
I created a Google Maps Android v2 API key easily using the ZipSigner 2 app (beta release).
I found out that for this to work, the alias name can, for some reason, only be one word, in my case it was two.. So ended up creating a new keystore
this is my first question and I've been messing around with android for just a couple of days now.
The problem arose when I tried to follow an example code to experiment with the MapView class (http://developer.android.com/resources/tutorials/views/hello-mapview.html).
I installed the Google APIs add-on in my SDK and did everything just as stated in the tutorial and the AVD ran the code perfectly, except for the fact that I got an empty grid instead of the actual map I thought I was supposed to see.
It looks like my debug key is wrong or something, but again here, I did everything just as stated in the tutorial. In fact, here's the line in my main.xml where the api key is specified:
android:apiKey="48:C6:36:64:4A:DA:92:EF:D7:9E:BA:CD:26:45:EB:0D"
I got this key using the keytool command just like this:
$ keytool -list -alias androiddebugkey -keystore /home/nelson/.android/debug.keystore -storepass android -keypass android
I tried the built in map application that comes with the AVD when you install the google API and it works perfectly, so there must be something wrong with my application, but I just have no idea of what. Any help?
Thanks in advance
Nelson R. Perez
android:apiKey="48:C6:36:64:4A:DA:92:EF:D7:9E:BA:CD:26:45:EB:0D"
That's not your API key. Thats the fingerprint of your signing key.
Follow the Maps API key instructions starting from here, and you should be OK.