Chapter 8. Interacting with Other Apps

In this chapter, we will cover the following recipes:

  • Starting app components
  • Launching other apps
  • Obtaining data from activities
  • Using BroadcastReceivers
  • Scheduling tasks
  • Making phone calls
  • Intercepting phone calls
  • Sending SMS messages
  • Receiving SMS messages

Introduction

No app is developed or run in a vacuum. All users will have multiple apps installed on their devices, and we can take advantage of that to make our apps great.

If our app is an encyclopedia for a specific topic, we may want to share something. We can create mini Twitter, Facebook, and Google+ activities to interact with these social networks. We can create mini e-mail and SMS sections to support sharing in those formats. Alternatively, we can just use ...

Get Xamarin Mobile Development for Android Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.