You are previewing Android Apps with Eclipse.
O'Reilly logo
Android Apps with Eclipse

Book Description

Eclipse is the most adopted integrated development environment (IDE) for Java programmers. And, now, Eclipse seems to be the preferred IDE for Android apps developers.

Android Apps with Eclipse provides a detailed overview of Eclipse, including steps and the screenshots to help Android developers to quickly get up to speed on Eclipse and to streamline their day-to-day software development. This book includes the following:

  • Overview of Eclipse fundamentals for both Java and C/C++ Development.

  • Using Eclipse Android Development Toolkit (ADT) to develop, debug, and troubleshoot Android applications.

  • Using Eclipse C/C++ Development Toolkit (CDT) in conjunction with Android Native Development Kit (NDK) to integrate, develop and troubleshoot native Android components through Eclipse.

What you'll learn

  • How to use the most popular Java IDE for Android apps development

  • How to install and configure Eclipse for Android development

  • How to build an Android media player app using the Eclipse IDE

  • How to leverage Eclipse with the Android Native Development Kit for C/C++ needs

  • How to leverage Eclipse for scripting using Android's SL4A (Scripting Layer for Android)

  • How to do continuous integration in Eclipse, including source code controls, scripting builds with Ant and more

Who this book is for

This book is for both beginner and intermediate developers who would like to quickly come up to speed on Android development using the Eclipse IDE.

Table of Contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Introduction
  8. Chapter 1: Android Primer
    1. Android History
    2. Android Versions
    3. Android Platform Architecture
    4. Android Deployment and Distribution
    5. Summary
  9. Chapter 2: Application Architecture
    1. Android Components
    2. Resources
    3. Data Storage
    4. Android Life Cycles
    5. Packaging
    6. Android Manifest
    7. Summary
  10. Chapter 3: Eclipse Primer
    1. Eclipse History
    2. Eclipse Architecture
    3. Installing the Java Development Kit
    4. Installing Eclipse
    5. Exploring Eclipse
    6. Summary
    7. References
  11. Chapter 4: Mastering Eclipse
    1. Navigation
    2. Fast Coding
    3. Summary
  12. Chapter 5: Android Development Tools for Eclipse
    1. Preparing Eclipse
    2. Exploring ADT
    3. Releasing Applications
    4. Summary
    5. Resources
  13. Chapter 6: Project: Movie Player
    1. An Overview of the Movie Player
    2. Starting the MoviePlayer Project
    3. Using ADT Editors
    4. Defining the Classes
    5. Summary
  14. Chapter 7: Android Native Development Using Eclipse
    1. The Android Native Development Kit
    2. Installing the Android NDK
    3. How the Android NDK Is Structured
    4. How a Native Project Is Structured
    5. Sequoyah for Eclipse
    6. Java Tools
    7. The Java Native Interface
    8. Troubleshooting
    9. Summary
    10. Resources
  15. Chapter 8: Project: Extending Movie Player for AVI Movies
    1. Handling Dependencies
    2. Adding Native Support
    3. Integrating AVILib
    4. Implementing the AVI Player
    5. Defining the AVI Player Activity
    6. Scanning AVI Files into the Media Store
    7. Running the Application
    8. Homework
    9. Summary
  16. Chapter 9: Android Scripting Using Eclipse
    1. Scripting Layer for Android
    2. Installing SL4A
    3. Adding Interpreters
    4. Executing Scripts
    5. Adding a User Interface
    6. Packaging Scripts As APKs
    7. Summary
  17. Chapter 10: Project: Movie Player Using HTML and JavaScript
    1. Getting the SL4A Source Code
    2. Movie Player Script Project
    3. Adding the Movie Fa├žade
    4. Adding the Script
    5. Running the Application
    6. Summary
    7. Resources
  18. Appendix A: Testing Android Applications
    1. JUnit Basics
    2. Assertions
    3. Unit Testing
    4. Functional Testing
    5. Test Projects
    6. Running Tests
    7. Measuring Test Code Coverage
    8. Stress Testing
  19. Index