Hi all

i have found the way how you can receive a binary sms addressed to an
application port!
You must create a BroadcastReceiver and then you must put the
following in the manifest file:

<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>

have fun!
cheers
joe
--~--~---------~--~----~------------~-------~--~----~
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