ebook img

Android development tools for Eclipse PDF

195 Pages·2013·7.21 MB·English
by  Rahman
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Android development tools for Eclipse

Table of Contents Android Development Tools for Eclipse Credits About the Authors About the Reviewer www.PacktPub.com Support files, eBooks, discount offers and more Why Subscribe? Free Access for Packt account holders Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 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 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 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 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 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 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 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 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 Index Android Development Tools for Eclipse Android Development Tools for Eclipse Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: July 2013 Production Reference: 1200713 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.. ISBN 978-1-78216-110-3 www.packtpub.com Cover Image by J.Blaminsky (<[email protected]>) Credits Authors Sanjay Shah Khirulnizam Abd Rahman Reviewer Thomas Iguchi Acquisition Editor Wilson D'souza Commissioning Editors Sharvari Tawde Ameya Sawant Technical Editors Ruchita Bhansali Shashank Desai Larissa Pinto Project Coordinator Amey Sawant Proofreader Linda Morris Indexer Rekha Nair Production Coordinator Nilesh R. Mohite Cover Work Nilesh R. Mohite

Description:
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. Overview Build Android applications using ADT for Eclipse Generate Android ap
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.