The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Tutorial #2 - Creating a Stub Project

Creating an Android application first involves creating an Android “project”. As with many other development environments, the project is where your source code and other assets (e.g., icons) reside. And, the project contains the instructions for your tools for how to convert that source code and other assets into an Android APK file for use with an emulator or device, where the APK is Android’s executable file format.

Hence, in this tutorial, we kick off development of a sample Android application, to give you the opportunity to put some of what you are learning in this book in practice.

About Our Tutorial Project

The application we will be building in these tutorials is called EmPubLite. EmPubLite will be a digital book reader, allowing users to read a digital book like the one that you are reading right now.

EmPubLite will be a partial implementation of the EmPub reader used for the APK version of this book. EmPub itself is a fairly extensive application, so EmPubLite will have only a subset of its features.

The “Em” of EmPub and EmPubLite stands for “embedded”. These readers are not designed to read an arbitrary EPUB or MOBI formatted book that you might download from somewhere. Rather, the contents of the book (largely an unpacked EPUB file) will be “baked into” the reader APK itself, so by distributing the APK, you are distributing the book.

About the Rest of the Tutorials

The preview of this section did not survive Thanos's finger snap.

About Our Tools

The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.

Step #1: Importing the Project

The preview of this section is presently indisposed.

Step #2: Get Ready for the x86 Emulator

The preview of this section is en route to Mars.

Step #3: Set Up the AVD

The preview of this section was lost in the sofa cushions.

Step #4: Set Up the Device

The preview of this section is being chased by zombies.

Step #5: Running the Project

The preview of this section is en route to Mars.

In Our Next Episode…

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.