Hi Joe, Firt of all, thanks for the code. However I have tested your code with the emulator and does not work for me. So there must be something I am doing wrong. Have you checked that with the emulator or with the G1? I am doing my tests in the emulator because I still don't hava a phone yet. Can you provide the code you use to send de binary SMS and to receive it in the broadcast receiver?
Thanks Cristina On Dec 4, 11:22 am, "joe.scheidegger" <[EMAIL PROTECTED]> wrote: > 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 android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---