Android Development Tools for Eclipse


Android Development Tools for Eclipse
eBook: $13.99
Formats: PDF, PacktLib, ePub and Mobi formats
$11.89
save 15%!
Print + free eBook + free PacktLib access to the book: $43.98    Print cover: $29.99
$29.99
save 32%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Build Android applications using ADT for Eclipse
  • Generate Android application skeleton code using wizards
  • Advertise and monetize your applications

Book Details

Language : English
Paperback : 144 pages [ 235mm x 191mm ]
Release Date : July 2013
ISBN : 1782161104
ISBN 13 : 9781782161103
Author(s) : Sanjay Shah, Khirulnizam Abd Rahman
Topics and Technologies : All Books, Mobile Application Development, Android, Java, Open Source

Table of Contents

Preface
Chapter 1: Installing Eclipse, ADT, and SDK
Chapter 2: Important Features of the IDE
Chapter 3: Creating a New Android Project
Chapter 4: Incorporating Multimedia Elements
Chapter 5: Adding RadioButton, CheckBox, Menu, and Preferences
Chapter 6: Handling Multiple Screen Types
Chapter 7: Adding an External Library
Chapter 8: Signing and Distributing APK
Index
  • Chapter 1: Installing Eclipse, ADT, and SDK
    • Introducing the Android platform
    • What is Android?
      • Introducing the Android app
      • What is Dalvik Virtual?
      • Understanding API level
      • How many versions (distributions) Android has?
    • Preparing for Android development
      • Installing the JDK
      • Installing the Android SDK
      • Installing the Eclipse (Juno)
      • Installing the ADT in Eclipse Juno
    • Linking the Android SDK to the Eclipse
    • Summary
    • Chapter 2: Important Features of the IDE
      • Project explorer
      • Code editor
        • Graphical layout editor
        • Android manifest editor
        • Menu editor
        • Resources editor
        • XML resources editor
      • Graphical user interface designer
        • The configuration chooser
        • The screen layout designer
      • Properties window
      • Debugging pane
      • Dalvik Debug Monitor Server (DDMS)
      • SDK manager
      • Android virtual device manager
      • Running the Application
      • Getting help
      • Summary
      • 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
        • Summary
        • 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
          • Summary
          • 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
              • Binding the menu and Preference
              • Getting values from Preferences
            • Run the application
            • Summary
            • Chapter 6: Handling Multiple Screen Types
              • Using wrap_content and match_parent
              • Fragment
                • Defining Fragment and Landscape layout
                • Hook up in the Main Layout file
              • Running the application
              • Optimizing for tablet
              • Persisting the state information during the state transition
              • Summary
              • Chapter 7: Adding an External Library
                • Creating an account at the AdMob website
                  • Adding Site/Application
                  • Choosing the Ad Network Mediation
                  • Adding AdMob SDK to the project
                  • Making changes in the manifest file
                  • Adding the AdMob widget/view in the layout file
                • Running the application
                • Summary
                • Chapter 8: Signing and Distributing APK
                  • APK – Android package
                  • Preparing for release
                    • Compilation for release
                    • Generating a private key
                    • Signing
                    • Alignment
                  • Using the Eclipse ADT for release
                  • Publishing to Google Play
                    • Getting help
                  • Summary

                  Sanjay Shah

                  Sanjay Shah, the author of Android Development Tools for Eclipse, has worked on diverse areas of application development across mobile and web platforms with more than nine years of experience. He is currently working as a Software Architect and has a number of enterprise applications to his credit. Being a literature enthusiast, he is fond of philosophy and enjoys life in Nepal, the land of the highest peak in the world—Mt. Everest.


                  Khirulnizam Abd Rahman

                  Khirulnizam Abd Rahman is a Computer Science lecturer in the faculty of Information Science and Technology, Selangor International Islamic College, Malaysia. He has been teaching programming since the year 2000. He started publishing Android apps in the year 2010, and his apps among others are Malay Proverb Dictionary (Peribahasa) and m-Mathurat. Currently, he is working on the apps for Windows Phone Version 8. PHP, C#, and Java are also the programming languages that he is familiar with.

                  Code Downloads

                  Download the code and support files for this book.


                  Submit Errata

                  Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                  Errata

                  - 1 submitted: last submission 19 May 2014

                  Errata type: Code | Chapter number: 4 | Page number: 71

                  The author has posted the corrected code for the playSound() method at the following link:

                  http://blog.kerul.net/2013/09/playsound-method-to-play-mp3-on-android.html

                  Sample chapters

                  You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                  Frequently bought together

                  Android Development Tools for Eclipse +    Customer Success with Microsoft Dynamics Sure Step =
                  50% Off
                  the second eBook
                  Price for both: €31.15

                  Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                  What you will learn from this book

                  • 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.

                  Approach

                  A standard tutorial aimed at developing Android applications in a practical manner.

                  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.

                  Code Download and Errata
                  Packt Anytime, Anywhere
                  Register Books
                  Print Upgrades
                  eBook Downloads
                  Video Support
                  Contact Us
                  Awards Voting Nominations Previous Winners
                  Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                  Resources
                  Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software