|
|
 |
BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2
 | This is the forum to discuss the Wrox book Professional Android Application Development by Reto Meier; ISBN: 9780470344712 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

February 13th, 2009, 04:15 PM
|
|
Authorized User
|
|
Join Date: Nov 2006
Location: , , .
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Chapter7_Sample_WhereAmI_4 not showing map
Hi,
I have tried the "WhereAmI" application (the one using the map controller) several times and the map displayed is white (or maybe a light gray) and empty. The lat, long, and address are displayed correctly at the top of the screen. I have the latest code source. Any ideas why?
Thank you,
Mihai
Last edited by sunrain : February 13th, 2009 at 04:29 PM.
|

February 13th, 2009, 05:04 PM
|
|
Authorized User
|
|
Join Date: Nov 2006
Location: , , .
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
|
OK, so the problem was with the apiKey for the MapView. I had to sign up for an Android Maps API Key.
|
|
The Following User Says Thank You to sunrain For This Useful Post:
|
|

August 26th, 2009, 06:40 AM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by sunrain
OK, so the problem was with the apiKey for the MapView. I had to sign up for an Android Maps API Key.
|
Thanks sunrain, your post lead me down the right path to a solution. To expand on sunrain's post, here's how you can get a debugging API key:
http://code.google.com/android/add-o...is/mapkey.html describes how to obtain a Maps API key. I used the SDK Debug certificate to generate a debug key. First find the debug.keystore file (probably in c:\Documents and Settings\<user>\.android of something similar depending on your OS). Run the keytool command (found in your java directory e.g. c:\Program Files\Java\jre6\bin).
keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android
This will print out a MD5 fingerprint that you input into http://code.google.com/android/maps-api-signup.html. Click the "Generate API key" button. That key is what you enter for your MapView's android:apiKey in your XML layout files.
-Sonja
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |