Jump in and build working Android apps with the help of more than 200 tested recipes. With this cookbook, you’ll find solutions for working with the user interfaces, multitouch gestures, location awareness, web services, and device features such as the phone, camera, and accelerometer. You also get useful steps on packaging your app for the Android Market.
Ideal for developers familiar with Java, Android basics, and the Java SE API, this book features recipes contributed by more than three dozen developers from the Android community. Each recipe provides a clear solution and sample code you can use in your project right away. Among numerous topics, this cookbook helps you:
Use guidelines for designing a successful Android app
Work with UI controls, effective layouts, and graphical elements
Learn how to take advantage of Android’s rich features in your app
Save and retrieve application data in files, SD cards, and embedded databases
Access RESTful web services, RSS/Atom feeds, and information from websites
Create location-aware services to find locations and landmarks, and situate them on Google Maps and OpenStreetMap
Test and troubleshoot individual components and your entire application
About the Author
Ian F. Darwin has worked in the computer industry for three decades. He wrote the freeware file(1) command used on Linux and BSD and is the author of Checking C Programs with Lint, Java Cookbook, and over seventy articles and courses on C and Unix. In addition to programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies.
Biography
Ian has worked in the computer field for decades, starting on mainframes(!) and moving to ever-smaller computers (his smallest devices with keyboards currently include a netbook running OpenBSD and a Motorola Milestone smartphone running Android). He's written several O'Reilly books over the years, including the long-ago "Checking C Programs with Lint" and the "Java Cookbook" which is available in at least ten languages. Ian also teaches computer courses for Learning Tree International and runs his own consultancy, RejmiNet Group Inc. He lives on a hobby farm north of Toronto with his wife, some of their children, a cat and some chickens - which explains, at long last, the animal on the cover of the Java Cookbook.