aspose file tools*
The moose likes Android and the fly likes map example not working fine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "map example not working fine" Watch "map example not working fine" New topic
Author

map example not working fine

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
this is my mail class



this is my manifest file


thi is my mail xml




below is the exception i am getting in logcat.please assist.

Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4179
    
  21

You need an API key for the application. You actually need two, a 'debug key' used for development, and when you run the app from eclipse/manual install, and the second 'signed' key you use for the released app you download from the play store. You can't use the signed one when you run from the IDE, and you can't use the debug one when you launch from the Play store.

See: https://developers.google.com/maps/documentation/android/start
Which describes getting each type of key, and how to use them.


Steve
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
i also have key now.which is created using keytool.Anyway whan i try to run app in dev envirnment it gives above error.please assist.
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
please assist me.still have the issue
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: map example not working fine