I can confirm that joe.scheidegger information about data sms does
work on device. However, the port specified on the receiver does not
seem to matter.

Joe wrote:
<receiver android:name=".YourBroadcastReceiver">
    <intent-filter>
        <action
android:name="android.intent.action.DATA_SMS_RECEIVED" />
        <data  android:scheme="sms"/>
        <data android:host="localhost"/>
        <data android:port="your port"/>
    </intent-filter>
</receiver>

and then you must add the following permission:
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-
permission>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to