Ricerca Avanzata >>  
meier reto - professional android 2 application development

Professional Android 2 Application Development



Disponibilità: Non disponibile o esaurito presso l'editore

PREZZO
€ 37,50





condividi su



Dettagli
Genere: Libro
Lingua: Inglese
Pubblicazione: 02/2010

Sommario

INTRODUCTION xxvii

CHAPTER 1: HELLO, ANDROID 1

A Little Background 2

What It Isn t 3

Android: An Open Platform for Mobile Development 4

Native Android Applications 5

Android SDK Features 6

Introducing the Open Handset Alliance 9

What Does Android Run On? 9

Why Develop for Mobile? 9

Why Develop for Android? 10

Introducing the Development Framework 12

Summary 16

CHAPTER 2: GETTING STARTED 17

Developing for Android 18

Developing for Mobile Devices 30

To–Do List Example 38

Android Development Tools 43

Summary 48

CHAPTER 3: CREATING APPLICATIONS AND ACTIVITIES 49

What Makes an Android Application? 50

Introducing the Application Manifest 51

Using the Manifest Editor 56

The Android Application Life Cycle 57

Understanding Application Priority and Process States 58

Externalizing Resources 59

Introducing the Android Application Class 74

A Closer Look at Android Activities 76

Summary 84

CHAPTER 4: CREATING USER INTERFACES 85

Fundamental Android UI Design 86

Introducing Views 86

Introducing Layouts 89

Creating New Views 91

Drawable Resources 111

Resolution and Density Independence 117

Creating and Using Menus 123

Summary 136

CHAPTER 5: INTENTS, BROADCAST RECEIVERS, ADAPTERS, AND THE INTERNET 137

Introducing Intents 138

Introducing Pending Intents 162

Introducing Adapters 163

Using Internet Resources 170

Introducing Dialogs 172

Creating an Earthquake Viewer 176

Summary 184

CHAPTER 6: FILES, SAVING STATE, AND PREFERENCES 187

Saving Simple Application Data 188

Creating and Saving Preferences 188

Retrieving Shared Preferences 189

Creating a Settings Activity for the Earthquake Viewer 189

Introducing the Preference Activity and Preferences Framework 197

Creating a Standard Preference Activity for the Earthquake Viewer 202

Saving Activity State 203

Saving and Loading Files 207

Including Static Files as Resources 207

File Management Tools 208

Summary 208

CHAPTER 7: DATABASES AND CONTENT PROVIDERS 209

Introducing Android Databases 209

Introducing SQLite 210

Cursors and Content Values 211

Working with SQLite Databases 211

Creating a New Content Provider 224

Using Content Providers 227

Creating and Using an Earthquake Content Provider 230

Native Android Content Providers 238

Summary 244

CHAPTER 8: MAPS, GEOCODING, AND LOCATION–BASED SERVICES 245

Using Location–Based Services 246

Configuring the Emulator to Test Location–Based Services 246

Updating Locations in Emulator Location Providers 246

Selecting a Location Provider 247

Finding Your Location 249

Using Proximity Alerts 255

Using the Geocoder 256

Creating Map–Based Activities 260

Mapping Earthquakes Example 279

Summary 284

CHAPTER 9: WORKING IN THE BACKGROUND 285

Introducing Services 286

Using Background Threads 300

Let s Make a Toast 306

Introducing Notifications 309

Using Alarms 320

Summary 325

CHAPTER 10: INVADING THE PHONE–TOP 327

Introducing Home–Screen Widgets 328

Creating App Widgets 328

Creating an Earthquake Widget 341

Introducing Live Folders 346

Adding Search to Your Applications and the Quick Search Box 351

Creating Live Wallpaper 358

Summary 361

CHAPTER 11: AUDIO, VIDEO, AND USING THE CAMERA 363

Playing Audio and Video 364

Recording Audio and Video 371

Using the Camera and Taking Pictures 375

Adding New Media to the Media Store 382

Raw Audio Manipulation 384

Speech Recognition 386

Summary 388

CHAPTER 12: TELEPHONY AND SMS 389

Telephony 390

Introducing SMS and MMS 398

Summary 423

CHAPTER 13: BLUETOOTH, NETWORKS, AND WI–FI 425

Using Bluetooth 425

Managing Network Connectivity 448

Managing Your Wi–Fi 452

Summary 455

CHAPTER 14: SENSORS 457

Using Sensors and the Sensor Manager 458

Interpreting Sensor Values 461

Using the Compass, Accelerometer, and Orientation Sensors 462

Controlling Device Vibration 474

Summary 475

CHAPTER 15: ADVANCED ANDROID DEVELOPMENT 477

Paranoid Android 478

Using Wake Locks 480

Introducing Android Text to Speech 481

Using AIDL to Support IPC for Services 483

Using Internet Services 488

Building Rich User Interfaces 489

Summary 526

INDEX 529

Trama
Build unique mobile applications with the latest Android SDK

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

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.

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.

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Autore
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.
Altre Informazioni
ISBN: 9780470565520
Collana: Wrox - Programmer to Programmer
Dimensioni: 235 x 28.8 x 189 mm Ø 976 gr
Formato: Brossura
Pagine Arabe: 576


carrello

Registrati per acquistare e ricevere news
Email
Password
Effettua il Log-In





Metodi di pagamento
Visa Verified by Visa Mastercard Mastercard Secure code PayPal Visa Electon Postepay American Express
Spedizioni con:
Gls Sda
La libreria italiana online Booxshop.it
HOEPLI S.p.A. - Sede Legale Via U. Hoepli 5, 20121 Milano - Italy - Copyright © 2001-2016
Tel. +39 02864871 - fax +39 028052886 - info@hoepli.it - P.IVA 00722360153
Iscrizione registro imprese: 00722360153 del registro delle imprese di Milano.
Capitale sociale in euro: deliberato 4.000.000,00; sottoscritto: 4.000.000,00; versato: 4.000.000,00.
La libreria italiana online Verisign

Utilizziamo i cookie di profilazione, anche di terze parti, per migliorare la navigazione, per fornire servizi e proporti pubblicità in linea con le tue preferenze. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie clicca qui. Chiudendo questo banner o proseguendo nella navigazione acconsenti all’uso dei cookie.

X