Android: Message in Data SMS is returning null
<p>I have an Android application where i want to receive Data SMS on specific port. MY BroadcastReceiver's OnReceive method gets called when the SMS is reaching my phone. When i print the Intent, Log.i("SMS Receiver: Received intent", intent.toString()); i can see that the Datamessage has received on particular port. But, when i use msgs[i].getMessageBody().toString() it retuns null. The actual message is not available. I have cross checked the sender and it is fine. When i uninstall my application on device and send a data sms to my phone, the SMS goes to the inbox and on the phone the message is shown as "Unsupported content". Is it something to do with the format of the Message i am sending? 
Below are the manifest entries used for receiving Data SMS</p>

<p> 
             <br>
                 --> </p>

<pre><code>            &lt;action android:name = "android.intent.action.DATA_SMS_RECEIVED"/&gt;
               &lt;data  android:scheme="sms"/&gt;  
                &lt;data android:host="localhost"/&gt; 
                &lt;data android:port="16000"/&gt;

        &lt;/intent-filter&gt; 
    &lt;/receiver&gt;

&lt;/application&gt;
&lt;uses-sdk android:minSdkVersion="4" /&gt;
</code></pre>

<p></p>

<p>Any help would be highly appreciated.</p>
