How do I use maps in the application? Is it via certificate generated on my pc that then validates on the web? Can I apply this genre to eclipse?
How do I use maps in the application? Is it via certificate generated on my pc that then validates on the web? Can I apply this genre to eclipse?
You can do this in Eclipse, though, it's much easier and more productive to do in Android Studio.
Android Studio is in version 1.2.2 and is very stable. Includive Google already recommends its use in production. I have used it and have not regretted it.
In Android Studio, just right-click the folder representing the project and follow "New" > "Google" > "Google Maps Activity"
This will create the Activity with the map, the meta-data field in AndroidManifest.xml
and a google_maps_api.xml
file.
Inside since last is where you will place your Google Maps API key obtained from the Google Developer Console. In addition, when creating the aforementioned file, there will be, in the form of a commentary, a small tutorial on how to obtain the key and use the API.
Check out the Google Maps Android API documentation: