Android Wing of mucchin | MapView related



What to do if you do not appear in the Android MapView application was published


The emulator has been displayed to Google MapView normally, when you start to download from the Android Market app was published, MapView does not appear! ?

In the Android app, I have a MapView View allows the user to easily view Google Map.

I, before publishing it into the Android Market, it has been displayed MapView successfully in the emulator, I noticed that after it passes several days to publish to the Android Market as it is, MapView is not displayed at all I noticed that.
I would like to introduce the solution at that time.


Incidentally, I think to use the MapView is that there is a need to get the API key for Google Map at the following sites, and many people you know.
Get the Google Map API key

I think developing an Android app, you can use the certificate fingerprint SDK is generating, and obtain an API key for Google Map.
For example, if Windows XP is the following file.
C:. \ Documents and Settings \ user folder \ android \ debug.keystore

This certificate is not it for debugging purposes.
On the emulator in Eclipse even though it appears to have successfully MapView, even if exposed to the Android Market to generate the apk file for public API remains in that key, MapView does not appear at all in fact.


So, what I do.

When you generate the apk file that you want to expose to Android Market, I'll create a keystore.
The procedure is introduced in the following article.
How to publish to the Android Market for Android app

Please look at the place called "Adding signature to Android app" of the above article.
Using a fingerprint that is included in the keystore that you created in this step, do I get an API key.
If, after you publish an Android app, if you're abandoning the keystore file, let's re-create one more time.

Launch the command prompt,
<full path to the file name of the keystore created> keytool-list-keystore
And then type.

Then, since be prompted for a password, it is OK If you enter the password you set when you created the certificate.
Fingerprint will be displayed, in this fingerprint, please take the Google Map API key.

Let's also re-create the keystore,,, if you if you forget your password.




Next, replace the API key you obtained, the attributes of the API key you have set the Android MapView application to be published, in the layout XML.

Recreate the apk file for publishing so again. (Which we introduced earlier, following are the steps.)
How to publish to the Android Market for Android app
However, watch out! !
In the above procedure, but we have to create a new keystore, rather than to create a new, please specify the keystore issued a fingerprint.
Please select the "Use existing keystore" in the following screen.
What to do if you do not appear in the Android MapView application was published

Otherwise, the certificate and will be used when generating the API key, the signature attached to the application is different, MapView will not be displayed.


And upload it to the Android Market app on this, please try downloading again.
MapView should now be displayed properly.
(Incidentally, I think in the emulator and will not be displayed.)

2 3 4 A four page one of two 3 four