how to set an app as an sms app android
<p>I have developed an android app that sends sms. My problem is that when I click the text message icon for a contact, the pop up that asks you to specify which application you will like to use, does not have my app as part of the options. Can anybody help with this?</p>

<p>I have added an image to make the question much clearer.</p>

<p><a href="http://i.stack.imgur.com/itFvN.png" rel="nofollow">http://i.stack.imgur.com/itFvN.png</a></p>

<p>This is the code for the manifest file:</p>

<pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.smsmessaging"
android:versionCode="1"
android:versionName="1.0" &gt;

&lt;uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="15" /&gt;

&lt;uses-permission android:name="android.permission.SEND_SMS"&gt;
&lt;/uses-permission&gt;
&lt;uses-permission android:name="android.permission.RECEIVE_SMS"&gt;
&lt;/uses-permission&gt;

&lt;application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" &gt;
    &lt;activity android:name=".SMS"
              android:label="@string/app_name"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN"/&gt;               
            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
        &lt;intent-filter &gt;
            &lt;action android:name="android.intent.action.SEND"/&gt;
            &lt;category android:name="android.intent.category.DEFAULT"/&gt;
            &lt;data android:mimeType="text/plain" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;receiver android:name=".Receiver"&gt; 
        &lt;intent-filter&gt; 
            &lt;action android:name=
                "android.provider.Telephony.SMS_RECEIVED" /&gt; 
        &lt;/intent-filter&gt; 
    &lt;/receiver&gt;

&lt;/application&gt;
</code></pre>
