Free Sample
+ Collection

Android Development Tools for Eclipse

Sanjay Shah, Khirulnizam Abd Rahman

By the end of this book you will know how to use Eclipse tools for developing, debugging, and signing Android applications for distribution. Widely adopted by programmers across the world, this is your chance to join them.
RRP $13.99
RRP $29.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782161103
Paperback144 pages

About This Book

  • Build Android applications using ADT for Eclipse
  • Generate Android application skeleton code using wizards
  • Advertise and monetize your applications

Who This Book Is For

Android Development Tools for Eclipse is aimed at beginners and existing developers who want to learn more about Android development. It is assumed that you have experience in Java programming and that you have used IDE for development.

Table of Contents

Chapter 1: Installing Eclipse, ADT, and SDK
Introducing the Android platform
What is Android?
Preparing for Android development
Linking the Android SDK to the Eclipse
Chapter 2: Important Features of the IDE
Project explorer
Code editor
Graphical user interface designer
Properties window
Debugging pane
Dalvik Debug Monitor Server (DDMS)
SDK manager
Android virtual device manager
Running the Application
Getting help
Chapter 3: Creating a New Android Project
Creating a new Android application project
String resources
Using the graphical layout designer
The XML layout code editor
Widget interactions through the source code editor
Toast message
Running the application on the emulator
Running the application on an Android device
Chapter 4: Incorporating Multimedia Elements
Adding a TableLayout
Adding the image resources
Adding ImageView
Adding ImageButtons
Assigning the widget's ID
ImageButtons and handling event
Adding audio
Adding another screen in the app
Adding HTML to WebView
Intent and Activity
The final product run and test
Chapter 5: Adding RadioButton, CheckBox, Menu, and Preferences
Creating a new project
Adding a RadioGroup, RadioButton, and a TextField
Adding a CheckBox
Adding a menu
Defining the Strings
Defining the Preference screen
Hook up
Run the application
Chapter 6: Handling Multiple Screen Types
Using wrap_content and match_parent
Running the application
Optimizing for tablet
Persisting the state information during the state transition
Chapter 7: Adding an External Library
Creating an account at the AdMob website
Running the application
Chapter 8: Signing and Distributing APK
APK – Android package
Preparing for release
Using the Eclipse ADT for release
Publishing to Google Play

What You Will Learn

  • Install ADT and Eclipse
  • Learn about important tools in the ADT environment and their usage
  • Create a new project, explore its structure, add simple widgets, then compile, debug, and run the application
  • Include multimedia elements and handle multiple screens in your application
  • Add a menu and use it to invoke the Preference Screen and handle radio and checkbox preferences
  • Handle multiple screen types and orientations
  • Add an external library and use it by incorporating advertisements (AdMob Library)
  • Learn how to prepare your application for release: compiling, key generation, signing, aligning, and distribution

In Detail

The increase in Android’s popularity with every passing day cannot be understated. This has resulted in a large programmer base willing to contribute to its success. Eclipse has a powerful IDE and has been adopted widely by programmers across the globe. The focus of ADT is to use existing familiar territory and ease development of Android applications. In this sense, ADT provides a one stop solution for Android application development.

Android Development Tools for Eclipse is a step-by-step guide that provides you with hands-on, practical, and to the point discussion and steps for using Eclipse tools for developing, debugging, and signing Android applications for distribution. It also teaches you to incorporate advertisements to monetize your applications. Every concept and its usage has been demonstrated in this book by implementing them via real world applications.

Android Development Tools for Eclipse starts with the installation of ADT, and then discusses important tools before guiding you through Android application development from scratch, demonstrating different concepts and implementation before finally helping you distribute your applications in the Android market. You will start the development of your first application, explore project structure, and add different widgets including multimedia ones.

You will learn everything about developing, debugging, testing, distributing, and monetizing your Android application using Eclipse ADT.


Read More