Exposing Data and Information Outside Your Android App

Android allows apps to extend beyond reach of their traditional boundaries. In this course, you'll learn how to capitalize on these capabilities through the use of Content Providers, notifications, and PendingIntents.
Course info
Rating
(10)
Level
Intermediate
Updated
Oct 5, 2017
Duration
2h 56m
Table of contents
Creating a Content Provider
Identifying Content Provider Content
Interacting with Content Provider Content
Working with Notifications
Description
Course info
Rating
(10)
Level
Intermediate
Updated
Oct 5, 2017
Duration
2h 56m
Description

Looking to create opportunities by expanding your Android applications and users beyond all traditional boundaries? In this course, Exposing Data and Information Outside Your Android App, you'll learn how to create opportunities for both applications and users to engage with your app's content in ways that extend beyond the traditional app experience. First, you'll explore how to centralize data management using a Content Provider and make that data available to other applications. Next, you'll discover how to access Content Provider data using a CursorLoader and content URIs. After that, you'll learn how to modify data through a Content Provider including associating URIs with individual table rows. Finally, you'll cover how to interact with users through notifications, including how to create expandable notifications that provide comprehensive display information, and allow users to launch app activities directly from the notification through the use of PendingIntents. By the end of this course, you'll have the skills and knowledge to create your own Android applications that provide rich data and user experiences that extend beyond the traditional reach of applications.

About the author
About the author

Jim Wilson is president of JW Hedgehog, Inc., a consulting firm specializing in solutions for the Android, iOS, and Microsoft platforms. Jim has over 30 years of software engineering experience, with the past 15 years heavily focused on creating mobile device and location-based solutions.

More from the author
Introduction to Xamarin.Forms
Beginner
3h 37m
May 13, 2019
More courses by Jim Wilson
Section Introduction Transcripts
Section Introduction Transcripts

Identifying Content Provider Content
Welcome to the next module of the Pluralsight course, Exposing Data and Information Outside your Android App. In this module, we'll talk about identifying content provider content. My name is Jim Wilson. As our content provider is currently implemented, it always returns back the same table, which is our courses table. Now most content providers support returning multiple tables. So to do that, we have to have a way of identifying individual tables and then hit a request for those tables. So in this module, we'll see how to do all that. So we'll start out with a look at how content providers are organized, we'll then see how to create a Contract class for content provider, we'll see how to create URIs for individual tables, we'll then see how to handle matching those URIs, then we'll look at the details of URI request handling, and then we'll finish up with a look at how to add a table to our content provider that's actually an abstraction over the join of two tables from our database.

Interacting with Content Provider Content
Welcome to the Interacting with Content Provider Content module of the Pluralsight course, Exposing Data and Information Outside your App. My name is Jim Wilson. In this module, we'll complete our discussion of content providers by learning how to implement full data interactivity. Now the first thing we'll look at is how we can gain access to our content provider using something called a ContentResolver. We'll then see how to insert new data into our content provider tables. We'll see how to identify individual rows in a table using row URIs. We'll learn how to make our content provider work more effectively with other applications, and then we'll finish up with a look at how to provide mime types for the URI supported by our content provider.

Working with Notifications
Welcome to our next module, Working with Notifications. This is the Pluralsight course, Exposing Data and Information outside your Android app. My name is Jim Wilson. In this module, we'll look at how we can use notifications to interact with a user even when that user is not actively using our application. We'll start out with an overview of notifications, we'll then see how we can create display notifications, we'll then look at the important role of the Android Studio generated helper class and how we can customize our notifications within that helper class, we'll see how to provide expanded notification information using notification styles, we'll see how to launch an activity when a user taps on a notification, and then we'll finish up, we'll look at how to provide additional user actions directly from our notifications.