Last active
August 29, 2015 13:56
-
-
Save eyedol/8973733 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest> | |
... | |
<application> | |
<!-- BroadcastReceiver that listens for incoming SMS messages --> | |
<receiver android:name=".SmsReceiver" | |
android:permission="android.permission.BROADCAST_SMS"> | |
<intent-filter> | |
<action android:name="android.provider.Telephony.SMS_DELIVER" /> | |
</intent-filter> | |
</receiver> | |
<!-- BroadcastReceiver that listens for incoming MMS messages --> | |
<receiver android:name=".MmsReceiver" | |
android:permission="android.permission.BROADCAST_WAP_PUSH"> | |
<intent-filter> | |
<action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> | |
<data android:mimeType="application/vnd.wap.mms-message" /> | |
</intent-filter> | |
</receiver> | |
<!-- Activity that allows the user to send new SMS/MMS messages --> | |
<activity android:name=".ComposeSmsActivity" > | |
<intent-filter> | |
<action android:name="android.intent.action.SEND" /> | |
<action android:name="android.intent.action.SENDTO" /> | |
<category android:name="android.intent.category.DEFAULT" /> | |
<category android:name="android.intent.category.BROWSABLE" /> | |
<data android:scheme="sms" /> | |
<data android:scheme="smsto" /> | |
<data android:scheme="mms" /> | |
<data android:scheme="mmsto" /> | |
</intent-filter> | |
</activity> | |
<!-- Service that delivers messages from the phone "quick response" --> | |
<service android:name=".HeadlessSmsSendService" | |
android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" | |
android:exported="true" > | |
<intent-filter> | |
<action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> | |
<category android:name="android.intent.category.DEFAULT" /> | |
<data android:scheme="sms" /> | |
<data android:scheme="smsto" /> | |
<data android:scheme="mms" /> | |
<data android:scheme="mmsto" /> | |
</intent-filter> | |
</service> | |
</application> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment