I want to write an app sending messages.
How can I tell Android OS that when a user ask to send a message (sms) give him my app as an alternative?
I know viber and whatsapp do things like that. I didn't find the documentation. Probably I am missing something.
Asked
Active
Viewed 331 times
0
oshai
- 14,865
- 26
- 84
- 140
-
1This should anwer you question: http://stackoverflow.com/questions/4068910/android-intent-filter – Dirk Jäckel May 20 '12 at 21:23
1 Answers
2
Have you added the SMS send to intent filter to your manifest?
<intent-filter>
<category android:name="android.intent.category.DEFAULT"/>
<action android:name="android.intent.action.SENDTO"/>
<data android:scheme="smsto"/>
<data android:scheme="sms"/>
</intent-filter>
Simon
- 14,407
- 8
- 46
- 61