This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Android and the fly likes How find apiKey ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How find apiKey ?" Watch "How find apiKey ?" New topic
Author

How find apiKey ?

fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 84
Hi
I want to find apiKey of my program that i use google map library but i can't.
When i clicked on C:\Program Files\Java\jdk1.7.0_03\bin\keytool, cmd opens but the page closed fast Should i do any work before i clicked on keytool.exe? I read linke but i can't understand how find the apiKey?

Cheers
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

apikey?

Isn't that something that the application needs?

try running keytool from a command window instead of clicking on it.
This will only show you SSL type stuff though.

WP
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Running Keytool isn't the solution. Start by following the "Maps API Key Signup" link on that page.


Ping & DNS - my free Android networking tools app
fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 84
Thanks for answers.
When i open and see google map in phone, i should know apiKey, because i want to find this.

I open cmd page and write address of keytool but cmd writes: 'C:\Programs' is not recognized as an internal or external command, operable program or batch file. Why not open keytool?

I read link this but i can't solve this problem. I install jdk, after, i right click in googleMaps project and select Export and select Export Android Application and select Create new Key store and write key name and pass and years validity and ... . after created debug.keystore and GoogleMaps.apk but when i clicked in keytool in C:\Program Files\Java\jdk1.7.0_03\bin runs but closed fast and i can't read information of page (
What should i do?
Please help me
Cheers
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
You're mixing up two entirely unrelated things - the key you might need for incorporating Google Maps in an Android app, and the key you need for signing an Android app in order to distribute it through the Play Store. Which one is it that you actually want to accomplish?

(Frankly, I'm a bit baffled how one could confuse those two, as they are totally separate things.)
fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 84
Ulf Dittmer wrote:You're mixing up two entirely unrelated things - the key you might need for incorporating Google Maps in an Android app, and the key you need for signing an Android app in order to distribute it through the Play Store. Which one is it that you actually want to accomplish?

(Frankly, I'm a bit baffled how one could confuse those two, as they are totally separate things.)

I don't know why you confused!! I want the key for incorporating Google Maps in andrdoid app and thereby, i show maps in my program. This is clear?
Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Your confusion is the source of my confusion

You posted this link: http://developer.android.com/tools/publishing/app-signing.html#cert, which has precisely nothing to do with using Google Maps. I advise again:
Start by following the "Maps API Key Signup" link on that page.

Note that the link I'm talking about here is the one in your first post, not the irrelevant one in your second post.
fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 84
Thanks for answer my friends
I open cmd and write in cmd C:\>"C:\Program Files\Java\jdk1.7.0_03\bin\keytool.exe" -list -alias androiddebugkey -keystore "C:\Users\Fahimeh\.android\debug.keystore" -storepass android -keypass android
and after i enter, cmd writes Access denied but not writes any code for sign in to google. Why? Do i write incorrect sentence? Do i write other word instead of -alias in up?

Cheers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How find apiKey ?
 
Similar Threads
How do I get my JSP to call a servlets doPost
Multiple buttons... how does the actionlistener handle it?
Mouse event on table header in S.W.T
Issue compiling a GWT FeedReader Application
parsing the vector object?