YYZtech.ca

Learning Android
Building Applications for the Android Market

A “distilled version of the Marakana Android Bootcamp”

By: Staff

AdSense

What sets this book apart from the growing number of Android books on the market today are: an actual full-featured application to work on, coverage of the newest versions of Android and of the Native Developer Kit.

The book itself is described by the author as a “distilled version of the Marakana Android Bootcamp” that the author has taught for several years. As such, it covers all the aspects of getting up to speed with programming Android right from setting up an Eclipse-based development environment.

The book starts off with a historical overview of Android’s origins, how the various parts of Android OS fit together (the stack), how to set-up an development environment with Eclipse, the main building blocks and an overview of the book’s project, Yamba.

Chapter four covers the building blocks of an Android application: application states (starting, running, paused, etc.), Intents (inter-application messages), Services (background tasks without a UI), Content Providers (for sharing information between sand-boxed applications) , Broadcast receivers (broadly an observer pattern for Android events).

The application readers will be learning on is Yamba (Yet Another Micro-Blogging Application). Yamba interfaces with Twitter through a third-party library and makes use of a lot of a lot of Android’s functionality. It is introduced in chapter five and also serves as an overview of the following chapters that build on the building-blocks overview in chapter four.

The nine chapters that follow cover all the usual areas of Android development from UI (both as an XML file and programmatic), databases with SQLite, services and creating content providers.

The Native Developer Kit (NDK) is covered in chapter 15. Most books on Android don’t cover writing in the NDK because its recommended uses are limited. Basically the NDK lets developers write C/C++ code that runs on the same virtual machine as regular Java applications and as such is useful if you want to include native C/C++ libraries or write time-critical functions. Communications is done between native code and Java code with JNI (Java Native Interface).  As an example, the book shows how to write a Fibonacci sequence calculator in C and then how to use and package it with a regular Android Java application.

 

[asa]1449390501[/asa]

Date published: 28-May-2011

AdSense

Comments

AdSense

Related

Learn Java for Android Development

Before you compile, you need to learn Java.

Hello Android

An introduction to programming Google's Android OS.

6 Tips for using free Wi-Fi Safely

Six tips for things to watch out for when using free WiFi when out on the road.

Canadian App Makes Android Devices Kid-Proof

Lock up your Android phone or tablet with this app that lets parents restrict what apps kids use, who can call them.

Sponsored



2017 YYZTech



For American computers stores, visit: AmericanComputerDealer.com

Google+