Chapter 3Android Application Development With Android Studio

WHAT'S IN THIS CHAPTER?

  • Android projects
  • Android activities
  • Android services
  • Assets of Android projects
  • XML files in Android projects
  • Android manifest file
  • Creating and working with modules
  • Building modules for Android Projects

Android Studio is your best friend when it comes to Android application development and distribution. Android Studio doesn't only help you writing code but it also provides tools and templates to fasten your development process. Android Studio is increasingly more capable than a traditional Android development environment in Eclipse with the Android Developer Tools (ADK) plugin.

This chapter guides you through Android application development in Android Studio. We cover the basic building blocks of Android applications and the capabilities of Android Studio.

We start by creating an Android application project for phones and tablets and continue with additional development modules for your application.

ANDROID PROJECTS

Software applications with many source files and resources are organized under a project structure or a folder structure to better classify files and define source code compiling and binary generation order with a hierarchy. We call these predefined folder and file structures a project, which is an organizational unit that represents a complete software solution.

Android applications also have a file and folder hierarchy structure, referred to as an Android application project. ...

Get Expert Android Studio now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.