Learning Android Intents

If you already know at least the basics of Android, this is an opportunity to enhance your knowledge and acquire a deep understanding of Android Intents, allowing you to develop apps faster and more effectively.

Learning Android Intents

Learning
Muhammad Usama bin Aftab, Wajahat Karim

If you already know at least the basics of Android, this is an opportunity to enhance your knowledge and acquire a deep understanding of Android Intents, allowing you to develop apps faster and more effectively.
$10.00
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781783289639
Paperback318 pages

About This Book

  • Understand Android Intents to make application development quicker and easier
  • Categorize and implement various kinds of Intents in your application
  • Perform data manipulation within Android applications

Who This Book Is For

If you are a novice or an intermediate Android Developer who wants to expand their knowledge of Android Intents, this book is ideal for you. Readers are expected to have basic understanding of Android development, how to use different IDEs, and how to develop applications using Android APIs.

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: Intent and Its Categorization
Explicit intents
Implicit intents
Intents and Android late binding
Summary
Chapter 4: Intents for Mobile Components
Common mobile components
Components and intents
Summary
Chapter 5: 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
Chapter 6: Accessing Android Features Using Intents
Features of Android OS
Android features versus components
Common Android features
Android features and intents
The <uses-feature> and <uses-permission> tags
Sharing using the SEND action
Telephony and making calls using intents
SMS/MMS using intents
Notification using intents
Summary
Chapter 7: Intent Filters
Intent object and its categorization
Intent filters
Handling multiple intent filters
Test components of an intent filter
Summary
Chapter 8: 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
Chapter 9: Intent Service and Pending Intents
Intent Service
Usage and implementation of Intent Service
Pending Intents
Summary

What You Will Learn

  • Understand Android Intents and their importance in Android apps
  • Get to grips with the different types of Intents and their implementation
  • Discover data transfer methods in Android Intents along with their optimization and performance comparisons
  • Explore the implementation of Intents while invoking Android Features in an application.
  • Use Intent Filters and their sub-domains in order to perform various actions and sorting categories in Android Intents
  • Catch different events while working with Broadcast Receiver and perform various actions
  • Implement pending Intents and Intent Service, sending text to the Notification Panel, and much more

In Detail

Android is an emerging technology with loads of apps in the Google Play Market. Till date, it is the biggest marvel in Smartphone technology, propelling a larger number of developers into Android application development. Intent is an essential part of any Android Application and no Android application is complete without using them. Features such as listening broadcasts, sending messages, sharing via social networks, notifications, hardware components including camera, sensors, Wi-Fi, and more, can be used in your applications by using Intents.

This practical guide focuses on using intents to make the best use of various features of Android platform. It is ideal for those developers who want to understand the backbone and the domain of Android Intents, its power, and the need for it inside an Android application. Practical, in-depth examples are used throughout the book, to help you understand the key concepts.

The book starts with introducing the very basic concepts of Android, and its various facts and figures such as different Android versions, their release dates, evolution of Android phones and so on. While covering the basic technical concepts, it proceeds from the easiest route of introducing Android Intents towards the more practical view of Android Intents in terms of components and features.

You will learn how to use different components and features such as transfer data between activities, invoke various features and components of Android, execute different in-built and custom-made services, use hardware and software components of Android device, and start Pending Intents & notifications. You will gain better theoretical knowledge of what is running behind the concepts of Android Intents, and practical knowledge of the mobile-efficient ways to perform a certain task using Android Intents.

Towards the end, you will have a clear vision and a practical grip on Android intents and its features. Learning Android Intents is a proper guide to give you the best knowledge of Intents.

Authors

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: Intent and Its Categorization
Explicit intents
Implicit intents
Intents and Android late binding
Summary
Chapter 4: Intents for Mobile Components
Common mobile components
Components and intents
Summary
Chapter 5: 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
Chapter 6: Accessing Android Features Using Intents
Features of Android OS
Android features versus components
Common Android features
Android features and intents
The <uses-feature> and <uses-permission> tags
Sharing using the SEND action
Telephony and making calls using intents
SMS/MMS using intents
Notification using intents
Summary
Chapter 7: Intent Filters
Intent object and its categorization
Intent filters
Handling multiple intent filters
Test components of an intent filter
Summary
Chapter 8: 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
Chapter 9: Intent Service and Pending Intents
Intent Service
Usage and implementation of Intent Service
Pending Intents
Summary

Book Details

ISBN 139781783289639
Paperback318 pages
Read More