开发者

Problem with Google Maps android

I made an application which displays me the m开发者_C百科ap by taking GPS lat and long. Now when I run that application on my mobile or emulator it works fine. But when I sign the application and install that apk on some other mobile it does not display the Map. It just show me the overlay Item.

Friends I'm stuffed please help

I have MapsActivity Class and Overlay Item Class and I took help from here: http://developer.android.com/resources/tutorials/views/hello-mapview.html


You should sign your application with release key because emulator use debug key.


On the page you link to, there are two important points you should consider:

This tutorial requires that you have the external Google Maps library installed in your SDK environment.

For the purpose of this tutorial, you should register with the SDK debug certificate, which will only be valid while your application is signed with the debug key (once you sign with your private key, you will need a new API key)

Now, while the first talks about the SDK environment, it's also likely that you should ensure the Google APIs are present on the target device. I'll admit that this is likely to already be the case however.

What I think is more likely to be the problem is the second point - Once you sign the APK with your release key, you need a different Google maps API key. This, I suspect, is the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜