Page 54

Android Programming Cookbook

46 / 143

Figure 3.15: The tree of the project


Importing Google Play Services in your project

In order to be able to work with Google Maps v2, we have to import the Google Play Services library in the project. Google Maps v2 will work only on devices that do have Google Play Services. If your mobile device does not have Google Play Services you have to download and use the Google Play Services application from Google Play. Download Google Play Services SDK. We have to launch Android SDK Manager and install the Google Play services package.


This is Yahya Christian School Magazine