Book Image

Android Programming for Beginners

By : John Horton, Paresh Mayani
Book Image

Android Programming for Beginners

By: John Horton, Paresh Mayani

Overview of this book

Android is the most popular OS in the world. There are millions of devices accessing tens of thousands of applications. It is many people's entry point into the world of technology; it is an operating system for everyone. Despite this, the entry-fee to actually make Android applications is usually a computer science degree, or five years’ worth of Java experience. Android Programming for Beginners will be your companion to create Android applications from scratch—whether you’re looking to start your programming career, make an application for work, be reintroduced to mobile development, or are just looking to program for fun. We will introduce you to all the fundamental concepts of programming in an Android context, from the Java basics to working with the Android API. All examples are created from within Android Studio, the official Android development environment that helps supercharge your application development process. After this crash-course, we’ll dive deeper into Android programming and you’ll learn how to create applications with a professional-standard UI through fragments, make location-aware apps with Google Maps integration, and store your user’s data with SQLite. In addition, you’ll see how to make your apps multilingual, capture images from a device’s camera, and work with graphics, sound, and animations too. By the end of this book, you’ll be ready to start building your own custom applications in Android and Java.
Table of Contents (37 chapters)
Android Programming for Beginners
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The Where it's snap app


Where it's snap will be our most-advanced app! It will have the following features:

  • It will show a list of photos by their titles.

  • It will offer the alternative of a list of tags, which when clicked takes you to a list of titles with that matching tag.

  • It will allow the user to take photos with the device camera and assign a title as well as related tags.

  • All of the data required (titles and tags) will be stored in a database. You will learn about databases in Chapter 23, Using SQLite Databases in Our Apps, and we will add a database functionality to Where it's snap in Chapter 24, Adding a Database to Where It's Snap.

  • When the user taps on a photo's title in a list, he/she will see that photo and also be offered the option of showing a Google map of the location the photo was taken at.

  • We will also see how to make this app multilingual (Spanish and English). Hola!

As with the Note To Self app, we will do things as correctly as possible and use string resources and Android...