Jump in and build working Android apps with the help of more than 230 tested recipes. The second edition of this acclaimed cookbook includes recipes for working with user interfaces, multitouch gestures, location awareness, web services, and specific device features such as the phone, camera, and accelerometer. You also get useful info on packaging your app for the Google Play Market.Ideal for developers familiar with Java, Android basics, and the Java SE API, this book features recipes contributed by more than three dozen Android developers. Each recipe provides a clear solution and sample code you can use in your project right away. Among numerous topics, this cookbook helps you:Get started with the tooling you need for developing and testing Android appsCreate layouts with Android’s UI controls, graphical services, and pop-up mechanismsBuild location-aware services on Google Maps and OpenStreetMapControl aspects of Android’s music, video, and other multimedia capabilitiesWork with accelerometers and other Android sensorsUse various gaming and animation frameworksStore and retrieve persistent data in files and embedded databasesAccess RESTful web services with JSON and other formatsTest and troubleshoot individual components and your entire application