Has anybody got data SMS working on G1 phone? It looks DATA SMS send/receive is not working on G1 phone.
The data SMS sender code sends the message as given below mgr = SmsManager.getDefault(); short port = 1200; String mesg = "Test"; mgr.sendDataMessage(<dest phone num>,null,port,mesg.getBytes (),null,null); The Notification receiver is specified in the AndroidManifest.xml file of the receiver application as below <receiver android:name=".DataSmsReceiver"> <intent-filter> <action android:name="android.intent.action.DATA_SMS_RECEIVED"/> <data android:scheme="sms" /> <data android:host="localhost"/> <data android:port="1000"/> </intent-filter> </receiver> The sender code does not report any error for mgr.sendDataMessage(..). But the receiving side does not receive the sms/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

