Book description
Anybody can start building simple apps for the Android platform, and this book will show you how. This book takes you through the process of getting your first Android applications up and running using plain English and practical examples. It cuts through the fog of jargon and mystery that surrounds Android application development, and gives you simple, step-by-step instructions to get you started.
This book:
Teaches Android application development in language anyone can understand, giving you the best possible start in Android development.
Provides simple, step-by-step examples that make learning easy, allowing you to pick up the concepts without fuss.
Offers clear code descriptions and layout so that you can get your apps running as soon as possible
What you'll learn
Get both yourself and your computer set up for Android app development.
How to use the Eclipse programming environment to make your Android development efficient and straightforward.
Follow steps in plain English to build simple apps and get them working immediately.
Style your application so that it looks good.
Make use of the Android's touch screen.
Use shortcuts and cheat sheets to create apps the easy way.
The basics of Java and XML to allow you to move onto ever-more advanced apps.
Who this book is for
If you have a great idea for an Android app, but have never programmed before, then this book is for you. You don't need to have any previous computer programming skills—as long as you have a desire to learn, and you know which end of the mouse is which, the world of Android app development awaits.
Table of contents
- Copyright
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- 1. Preliminary Information: Before We Get Started
-
2. What's Next? Our Road Ahead
- 2.1. Your Android Development IDE
- 2.2. Java, XML, and How Android Works
- 2.3. The Android Application Framework
- 2.4. Screen Layout Design
- 2.5. User Interface Design
- 2.6. Graphics and Animation Design
- 2.7. Interactivity
- 2.8. Content Providers
- 2.9. Intents and Intent Filters
- 2.10. The Future of Android
- 2.11. Summary
- 3. Setting Up Your Android Development Environment
-
4. Introducing the Android Software Development Platform
- 4.1. Understanding Java SE and the Dalvik Virtual Machine
- 4.2. The Directory Structure of an Android Project
- 4.3. Leveraging Android XML (Your Secret Weapon)
- 4.4. Using Your Android Application Resources
- 4.5. Launching Your Application: The AndroidManifest.xml File
-
4.6. Creating Your First Android Application
- 4.6.1. Launching Eclipse
- 4.6.2. Creating an Android Project
- 4.6.3. Inspecting and Editing the Application Files
- 4.6.4. Opening the MyHelloWorld Activity
- 4.6.5. Opening the UI Definition
- 4.6.6. Opening the Strings Resource File
- 4.6.7. Setting a Variable Value in strings.xml
- 4.6.8. Running the App
- 4.6.9. Adding an Application Icon
- 4.6.10. Adding Transparency
- 4.6.11. Creating the Icons
- 4.7. Summary
- 5. Android Framework Overview
-
6. Screen Layout Design: Views and Layouts
- 6.1. Android View Hierarchies
- 6.2. Defining Screen Layouts: Using XML
- 6.3. Summary
- 7. UI Design: Buttons, Menus, and Dialogs
- 8. An Introduction to Graphics Resources in Android
-
9. Adding Interactivity: Handling UI Events
- 9.1. An Overview of UI Events in Android
- 9.2. Handling onClick Events
- 9.3. Android Touchscreen Events: onTouch
- 9.4. Touchscreen's Right-Click Equivalent: onLongClick
- 9.5. Keyboard Event Listeners: onKeyUp and onKeyDown
- 9.6. Context Menus in Android: onCreateContextMenu
- 9.7. Controlling the Focus in Android
- 9.8. Summary
- 10. Understanding Content Providers
- 11. Understanding Intents and Intent Filters
-
12. The Future
- 12.1. Widgets: Creating Your Own Widgets in Android
- 12.2. Location-Based Services in Android
- 12.3. Google Maps in Android
- 12.4. Google Search in Android
- 12.5. Data Storage in Android
- 12.6. Device Administration: Security for IT Deployments
- 12.7. Using the Android Camera Class to control a Camera
- 12.8. 3D Graphics: Using OpenGL ES 1.x in Android
- 12.9. FaceDetector
- 12.10. SoundPool
- 12.11. MediaRecorder
- 12.12. Summary
Product information
- Title: Android Apps for Absolute Beginners
- Author(s):
- Release date: April 2011
- Publisher(s): Apress
- ISBN: 9781430234463
You might also like
book
Android Apps for Absolute Beginners, Second Edition
Anybody can start building simple apps for the Android platform, and this book will show you …
book
Android Apps for Absolute Beginners: Covering Android 7, Fourth Edition
Get your first Android apps up and running with the help of plain English and practical …
book
Learn Android Studio 3: Efficient Android App Development
Build Android apps using the popular and efficient Android Studio 3 suite of tools, an integrated …
book
Learning Android, 2nd Edition
Want to build apps for Android devices? This book is the perfect way to master the …