Book Image

Android Studio Essentials

By : Belén Cruz Zapata
Book Image

Android Studio Essentials

By: Belén Cruz Zapata

Overview of this book

<p>Android Studio is an IDE that is based on the JetBrains IntelliJ IDEA. It gives developers a unique platform to develop and debug Android apps using various developer tools. It has a wide array of features such as live layout facility, Gradle build support, and template-based wizards, which makes it a preferred choice for developers.</p> <p>Starting off with the basic installation and configuration of Android Studio, this book aids you in building a new project by helping you to create a custom launcher icon and guiding you to choose your activity. You then gain an insight on the additional tools provided in Android Studio, namely the Software Development Kit (SDK) Manager, Android Virtual Device (AVD) Manager, and Javadoc.</p> <p>Finally, it helps you to familiarize yourself with the Help section in Android Studio that enables you to search for the help you might require in different scenarios.</p>
Table of Contents (17 chapters)
Android Studio Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Google Maps Android API v2


Google Maps Android API allows users of your application to explore maps available through a Google service. The new Maps version 2 offers more functionalities such as 3D maps, indoor and satellite maps, efficient caching and drawing using vector-based technology, and animated transitions through the map.

Let's import the sample project to examine its most important classes. Navigate to File | Import Project, search for the sample project in your SDK installation folder, and select the project root directory, /google_play_services/samples/maps/. Continue by clicking on Next in the successive dialogs, and then click on the Finish button to open the sample project in a new window. Now we have the Google Play services project and the maps sample project loaded in a new window in Android Studio.

Open the BasicMapDemoActivity class under the maps project under src/main/java/. The com.google.android.gms.maps package contains the Google Maps Android API classes. The GoogleMap...