1. Trang chủ
  2. » Công Nghệ Thông Tin

Android SDK (phần 1) docx

50 364 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 50
Dung lượng 1,78 MB

Nội dung

Wrox Programmer to Programmer™ Join the discussion @ p2p.wrox.com Written by an Android authority, this up-to-date resource shows you how to leverage the features of Android 2 to enhance existing products or create innovative new ones. Serving as a hands-on guide to building mobile apps using Android, the book walks you through a series of sample projects that introduces you to Android’s new features and techniques. Using the explanations and examples included in these pages, you’ll acquire the foundation needed to write compelling mobile applications that use Android, along with the flexibility to quickly adapt to future enhancements. Professional Android 2 Application Development: • Reviews Android as a development platform and best practices for mobile development • Provides an in-depth look at the Android application components • Details creating layouts and Views to produce compelling resolution independent user interfaces • Examines Intents and Content Providers for sharing data • Introduces techniques for creating map-based applications and using location-based services such as GPS • Looks at how to create and use background Services, Notifications, and Alarms • Demonstrates how to create interactive homescreen components • Explores the Bluetooth, telephony, and networking APIs • Examines using hardware, including the camera and sensors such as the compass and accelerometers Reto Meier is a software developer who has been involved in Android since the initial release in 2007. He is an Android Developer Advocate at Google. Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job. Programming / Mobile & Wireless / Android Build unique mobile applications with the latest Android SDK wrox.com Programmer Forums Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world. Code Downloads Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use. Read More Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you. $44.99 USA $53.99 CAN Meier Android ™ 2 Application Development Reto Meier Professional Android ™ 2 Application Development Professional Related Wrox Books Beginning iPhone SDK Programming with Objective-C ISBN: 9780470500972 Learning to develop iPhone applications doesn’t need to be an overwhelming undertaking. This book provides an easy-to-follow, example-driven introduction to the fundamentals of the Apple iPhone SDK and offers you a clear understanding of how things are done when programming iPhone applications with Objective-C. When you reach the end of the book, you will be prepared to confidently tackle your next iPhone programming challenge. Ivor Horton’s Beginning Java 2: JDK 5 Edition ISBN: 978-0-7645-6874-9 This comprehensive introduction to Java programming — written by the leading author of computer programming language tutorials — shows readers how to build real-world Java applications using the Java SDK (software development kit). Safari and WebKit Development for iPhone OS 3.0 ISBN: 9780470549667 With the unparalleled success of iPhone and iPod touch, iPhone OS 3.0 has emerged as a compelling platform for which vast numbers of web developers are designing and building web-based mobile applications. This book explores the Safari and WebKit development platform that is built into iPhone OS 3.0 and takes you through the process of creating an iPhone web application from the ground up. You’ll learn how to use existing open source frameworks to speed up your development time, imitate qualities of built-in Apple apps, cache data locally and even run in offline mode, and more. Whether you’re eager to build new web applications for iPhone OS 3.0 or optimize existing web sites for this platform, you have everything you need to do so within this book. Get more out of wrox.com Programmer to Programmer ™ Interact Take an active role online by participating in our P2P forums @ p2p.wrox.com Wrox Online Library Hundreds of our books are available online through Books24x7.com Wrox Blox Download short informational pieces and code to keep you up to date and out of trouble! Join the Community Sign up for our free monthly newsletter at newsletter.wrox.com Browse Ready for more Wrox? We have books and e-books available on .NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more! Contact Us. We always like to get feedback from our readers. Have a book idea? Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com PROFESSIONAL ANDROID ™ 2 APPLICATION DEVELOPMENT INTRODUCTION xxvii CHAPTER 1 Hello,Android 1 CHAPTER 2 GettingStarted 17 CHAPTER 3 Creating Applications and Activities 49 CHAPTER 4 CreatingUserInterfaces 85 CHAPTER 5 Intents, Broadcast Receivers, Adapters, andtheInternet 137 CHAPTER 6 Files,SavingState,andPreferences 187 CHAPTER 7 DatabasesandContentProviders 209 CHAPTER 8 Maps,Geocoding,andLocation-BasedServices 245 CHAPTER 9 WorkingintheBackground 285 CHAPTER 10 InvadingthePhone-Top 327 CHAPTER 11 Audio,Video,andUsingtheCamera 363 CHAPTER 12 TelephonyandSMS 389 CHAPTER 13 Bluetooth,Networks,andWi-Fi 425 CHAPTER 14 Sensors 457 CHAPTER 15 AdvancedAndroidDevelopment 477 INDEX 529 [...]... Considering the Users’ Environment Developing for Android Being Fast and Efficient Being Responsive Developing Secure Applications Ensuring a Seamless User Experience To-Do List Example Android Development Tools The Android Virtual Device and SDK Manager Android Virtual Devices SDK Manager The Android Emulator Dalvik Debug Monitor Service (DDMS) The Android Debug Bridge (ADB) Summary xiv 17 18 18 18... downloading the Android SDK, developer tools, and the Java development kit You may also wish to download and install Eclipse and the Android Developer Tool plug-in to ease your development, but neither is a requirement Android development is supported in Windows, MacOS, and Linux, with the SDK available from the Android web site You do not need an Android device to use this book or develop Android applications... read the FAQs, click the FAQ link on any P2P page xxxii 1 Hello, Android WHAT’S IN THIS CHAPTER? ➤ A background to mobile application development ➤ What Android is (and what it isn’t) ➤ An introduction to the Android SDK features ➤ What devices Android runs on ➤ Why develop for mobile and Android? ➤ An introduction to the SDK and the Android development framework Whether you’re an experienced mobile... Architecture Android Libraries 12 13 14 15 16 Summary 16 CONTENTS CHAPTER 2: GETTING STARTED Developing for Android What You Need to Begin Downloading and Installing the SDK Developing with Eclipse Using the Eclipse Plug-In Creating Your First Android Application Starting a New Android Project Creating a Launch Configuration Running and Debugging Your Android Applications Understanding Hello World Types of Android. .. the Android developer community Your hard work and exciting applications have helped make Android a great success CONTENTS INTRODUCTION CHAPTER 1: HELLO, ANDROID A Little Background The Not-So-Distant Past The Future What It Isn’t Android: An Open Platform for Mobile Development Native Android Applications Android SDK Features Access to Hardware, Including Camera, GPS, and Accelerometer Native Google... What Does Android Run On? Why Develop for Mobile? Why Develop for Android? What Has and Will Continue to Drive Android Adoption? What Does It Have That Others Don’t? Changing the Mobile Development Landscape xxvii 1 2 2 3 3 4 5 6 6 7 7 7 7 8 8 8 9 9 9 10 10 11 11 Introducing the Development Framework 12 What Comes in the Box Understanding the Android Software Stack The Dalvik Virtual Machine Android. .. introduces Android, including what it is and how it fits into existing mobile development What Android offers as a development platform and why it’s an exciting opportunity for creating mobile phone applications are then examined in greater detail Chapter 2 covers some best practices for mobile development and explains how to download the Android SDK and start developing applications It also introduces the Android. .. and the Android team, particularly the Android engineers and my colleagues in developer relations The pace at which Android has grown and developed in the past year is nothing short of phenomenal I also thank Scott Meyers for giving me the chance to bring this book up to date; and Bill Bridges, Milan Shah, Sadie Kleinman, and the Wrox team for helping get it done Special thanks go out to the Android. .. Introducing the Android Application Class 74 Extending and Using the Application Class Overriding the Application Life Cycle Events 74 75 A Closer Look at Android Activities Creating an Activity The Activity Life Cycle Activity Stacks Activity States Monitoring State Changes Understanding Activity Lifetimes Android Activity Classes Summary CHAPTER 4: CREATING USER INTERFACES Fundamental Android UI Design... applications using the current SDK, along with the flexibility to quickly adapt to future enhancements INTRODUCTION WHOM THIS BOOK IS FOR This book is for anyone interested in creating applications for the Android mobile phone platform using the SDK It includes information that will be valuable, whether you’re an experienced mobile developer or you’re making your first foray, via Android, into writing mobile . HELLO, ANDROID 1 A Little Background 2 The Not-So-Distant Past 2 The Future 3 What It Isn’t 3 Android: An Open Platform for Mobile Development 4 Native Android Applications 5 Android SDK Features. 43 The Android Virtual Device and SDK Manager 44 Android Virtual Devices 44 SDK Manager 45 The Android Emulator 46 Dalvik Debug Monitor Service (DDMS) 47 The Android Debug Bridge (ADB) 47 Summary. 12 Understanding the Android Software Stack 13 The Dalvik Virtual Machine 14 Android Application Architecture 15 Android Libraries 16 Summary 16 CONTENTS CHAPTER 2: GETTING STARTED 17 Developing for Android

Ngày đăng: 05/07/2014, 15:20

TỪ KHÓA LIÊN QUAN