Android Programming Tutorials

(Romina) #1

TUTORIAL 22


Here a Post, There a Post


In this tutorial, we will integrate maps, so we can plot the location for


status updates that provide such information.


Step-By-Step Instructions........................................................................


First, you need to have completed the previous tutorial. If you are


beginning the tutorials here, or if you wish to not use your existing work,


you can download a ZIP file with all of the tutorial results, and you can copy


the 21-Location edition of Patchy to use as a starting point.


NOTE: for this application to work, you will need to have a device or


emulator AVD set up with the Google APIs, and you will need to have your


project set up to build with the Google APIs. If you followed the


instructions in the first tutorial, this will already be done.


Step #1: Register for a Map API Key


First, you need to register for an API key to use with the mapping services


and set it up in your development environment with your debug certificate.


Full instructions for doing this can be found on the Android developer site.


235
Free download pdf