Developing First Android Application - HelloAndroid

This chapter provides tutorial notes on developing the first Android application. Topics include creating Android projects using the 'android' command; modifying Java source code; building and installing binary packages of Android projects.

Creating Android Project with "android" Command

Listing Target Android Platforms

"HelloAndroid" - First Android Project

"HelloAndroid.java" - First Android Java Code

"ant debug" Command and Build Error

Building the Debug Binary Package

Installing the Debug Binary Package

Running the Debug Binary Package

Takeaways:

Table of Contents

 About This Book

 Installing JDK 1.8 on Windows System

 Installation of Android SDK R24 and Emulator

 Installing Apache Ant 1.9 on Windows System

Developing First Android Application - HelloAndroid

 Android Application Package (APK) Files

 Android Debug Bridge (adb) Tool

 Android File Systems

 AboutAndroid - Application to Retrieve System Information

 android.app.Activity Class and Activity Lifecycle

 View Objects and Layout Resource Files

 Using "adb logcat" Command for Debugging

 Build Process and Package File Content

 Building Your Own Web Browser

 Android Command Line Shell

 Samsung Galaxy Tab 3 Mini Tablet

 USB Debugging Applications on Samsung Tablet

 Android Tablet - LG-V905R

 USB Debugging Applications on LG-V905R Tablet

 Android Phone - LG-P925g

 USB Debugging Applications on LG-P925g Phone

 Archived Tutorials

 References

 Full Version in PDF/EPUB