Dependencies and prerequisites
- Android 1.0 or higher (greater requirements where noted)
- Experience with Intents and Intent Filters
One of the great things about Android applications is their ability to communicate and integrate with each other. Why reinvent functionality that isn't core to your application when it already exists in another application?
This class covers some common ways you can send and receive content between
applications using Intent
APIs and the ActionProvider
object.
Lessons
- 向其他的App发送内容
- Learn how to set up your application to be able to send text and binary data to other applications with intents.
- 从其他的App接收内容
- Learn how to set up your application to receive text and binary data from intents.
- 增加一个简单的分享功能
- Learn how to add a "share" action item to your action bar.