362
Solution 362
Recipe 11.3 deploying Your App Through e-mail
365
Solution 365
Recipe 11.4 deploying Your App Through the Web
367
Solution 368
Recipe 11.5 deploying Your App Through an sd card
369
Solution 369
Recipe 11.6 specifying the Application installation location
370
Solution 371
Index
373
www.it-ebooks.info
introDuCtion
the PACe oF AnDroiD DeveLoPMent
has been fast and furious. Within a short time span of a few
years, Android has matured into a stable platform, rivaling that of its main competitor, iOS. At the
time of writing, the latest version of Android is 4.1 (aka Jelly Bean). Android 4.1 runs on both smart-
phones and tablets, making it the platform of choice for many developers.
This book was born out of the many frustrations I have had when developing Android applications.
It is often the case that you just need a quick snapshot showing how to do a certain task, and a code
snippet would be a quick fix. However, a trip to the official Android documentation often caused
more confusion than help, as the code samples are not always complete. Hence, this book aims to
fill the void by providing standalone examples that you can quickly “embrace and extend.”
Each recipe tackles a problem that you might face in your daily life as an Android developer —
whether it’s as minor as using a Button view or as involved as implementing a Master-Detail appli-
cation using fragments. You can read this book from the first recipe until the last recipe, or you can
turn directly to the recipes that interest you most.
Who this booK is For
This book is targeted at Android programmers who already have some basic knowledge of creating
Android applications. It is assumed that you know how to create an Android project using Eclipse,
and that you are already familiar with the structure of an Android project.
All the code samples in this book were written and tested using the Android 4.1 SDK, together with
Eclipse (Juno release) and the ADT plugin 20.0.3. All projects are able to run on Android devices
beginning with Android version 2.2. In particular, all projects make use of the Android Support pack-
age that is by default included in Android 4.1 projects. Using the Android Support Package enables
your applications to make use of the newer features introduced with Android version 3.0 (such as
fragments) and still run on older Android devices.
note
While every effort has been made to ensure that all the tools used in the
examples are the latest, it is always possible that by the time you read this book,
newer versions may be available. If so, some of the instructions and/or screen-
shots may differ slightly. However, any variations should be manageable.
www.it-ebooks.info
Do'stlaringiz bilan baham: |