============ Problem Description ============
Trouble who can translate these paragraphs accurately.
The "the" the "system identifies the components" can respond to an intent are by comparing the intent received to the inte NT filters provided in the manifest file of other apps on the device.
When you declare a activity in your app's manifest, you can optionally include intent filters that declare the Capabiliti Es of the activity so it can respond to intents from other apps. You can declare an intent filter for your component by adding an <intent-filter> element as a child of the component ' s declaration element.
For example, if you've built an e-mail app with the activity for composing a new e-mail, you can declare a intent filter to Respond to "send" intents (in order to send a new e-mail) like this:
============ Solution 1============
The system recognizes the components that can respond to intent by comparing the received intent with the intent filter provided in the manifest file of other apps on the device.
When you declare an activity in your app's manifest file, you can selectively include the intent filter, which declares the activity's compatibility, so it responds to intent received from another app. You can declare a intent filter for your component by adding <intent-filter> at the Sub-tab of the declaration component label.
For example, if you make an email app that has an activity that writes mail, you can declare a intent filter in response to "send" intent (in order to send a new message) like this:
============ Solution 2============
The translation is good, but the feeling is a little different from the way Chinese is expressed.
Android Development Document Translation