PacktLib: Learning Android Intents

Learning Android Intents

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Preface

Understanding Android

Introducing Android

Understanding the whys and whens of Android

Official IDE from Google – the Android Studio

Building blocks of an Android application

Android Activity lifecycle

Summary

Introduction to Android Intents

Role of intents in an Android Application

Intent – a technical overview

Implementation of Android Intents for Activity Navigation

Structure of an intent

Summary

Intent and Its Categorization

Explicit intents

Implicit intents

Intents and Android late binding

Summary

Intents for Mobile Components

Common mobile components

Components and intents

Summary

Data Transfer Using Intents

Finding the need to transfer data

Data transfer between activities – an INTENTed way

Data transfer in explicit intents

Methods of data transfer between activities

Data and the implicit intents

Summary

Accessing Android Features Using Intents

Features of Android OS

Android features versus components

Common Android features

Android features and intents

The and tags

Sharing using the SEND action

Telephony and making calls using intents

SMS/MMS using intents

Notification using intents

Summary

Intent Filters

Intent object and its categorization

Intent filters

Handling multiple intent filters

Test components of an intent filter

Summary

Broadcasting Intents

Broadcasting in the Android OS

Built-in broadcasts in Android systems

Detecting the low-battery state of a device

Detecting the screen on/off state of a phone

Detecting the cell phone's reboot-completed state

Sending and receiving custom broadcasts

Summary

Intent Service and Pending Intents

Intent Service

Usage and implementation of Intent Service

Pending Intents

Summary

Index