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.
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.
The application we will be building in these tutorials is called
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
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
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.
Of course, you may have little interest in writing a digital book reader app.
The tutorials presented in this book are certainly optional. There is no expectation that you have to write any code in order to get value from the book. These tutorials are here simply as a way to help those of you who “learn by doing” have an opportunity to do just that.
Hence, there are any number of ways that you can use these tutorials:
T2-Project/directory containing a copy of the
EmPubLitesample app after having completed the steps found in this tutorial. You can import these projects into your IDE, examine what they contain, cross-reference them back to the tutorials themselves, and run them.
Any of these are valid options — you will need to choose for yourself what you wish to do.
The preview of this section is sleeping in.
The preview of this section took that left turn at Albuquerque.
The preview of this section was last seen in the Bermuda Triangle.
The preview of this section was lost due to a rupture in the space-time continuum.
The preview of this section is presently indisposed.
The preview of this section was lost in the sofa cushions.
The preview of this section was whisked away by a shark-infested tornado.