Book Image

Android 6 Essentials

By : Yossi Elkrief
Book Image

Android 6 Essentials

By: Yossi Elkrief

Overview of this book

Android 6 is the latest and greatest version of the Android operating system, and comes packed with cutting edge new features for you to harness for the benefit of building better applications. This step-by-step guide will take you through the basics of the Android Marshmallow permissions model and beyond into other crucial areas such as the Audio,Video,Camera API and Android’s at work features. Learn how to create, deploy, and manage Android applications with Marshmallow’s API and the latest functionalities. The combination of instructions and real-world examples will make your application deployment and testing a breeze.
Table of Contents (16 chapters)
Android 6 Essentials
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

The Android Intent system


Almost every developer knows what an Android Intent system is, but we will explain it a bit and lay out the basic principles required to understand the app links feature. The Android Intent system can be found in the Android platform; this allows the passing of data in a small, simple package. Intent means that we want to perform an action. You may already know about the basic intents:

  • startActivity()

  • startActivityForResult()

  • startService()

  • sendBroadcast()

The following figure shows an Android Intent system for the startActivity() and onCreate() intents:

Source: http://developer.android.com/guide/components/intents-filters.html

The Android Intent system is a flexible mechanism that is used to enable apps to handle content and requests. Multiple apps may declare matching URI (short for Uniform Resource Identifier) patterns in their intent filters. When a user clicks on a web link that does not have a default launch handler, the platform may display a dialog for...