[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-10-08 Thread [EMAIL PROTECTED]
I would like to know this as well. On Sep 30, 8:54 pm, plusminus <[EMAIL PROTECTED]> wrote: > *bump* > > On 24 Sep., 09:45, Cristina <[EMAIL PROTECTED]> wrote: > > > I have just done a test to send a binary messege to a port using this > > code in 1.0 > > > SmsManager smsManager = SmsManager.getD

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-30 Thread plusminus
*bump* On 24 Sep., 09:45, Cristina <[EMAIL PROTECTED]> wrote: > I have just done a test to send a binary messege to a port using this > code in 1.0 > > SmsManager smsManager = SmsManager.getDefault(); > short port = 16001; > smsManager.sendDataMessage("5556","5554", port, "Hola".getBytes(), > nul

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-24 Thread Cristina
I have just done a test to send a binary messege to a port using this code in 1.0 SmsManager smsManager = SmsManager.getDefault(); short port = 16001; smsManager.sendDataMessage("5556","5554", port, "Hola".getBytes(), null, null); I use two emulators, one is launched at 5554 and the other at 55

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-18 Thread anywhere
hi Justin Ithink i have found the answer to the question 2. i think BroadcastReceiver#getResultCode() can get the sms send result. Please help to anwer the following question 1. Thanks (1) Whether Android support sending a text message with a port? If not, whether will be supported i

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-18 Thread anywhere
hi Justin Thans for your assistance. I still have other two issues to bother you. (1) Whether Android support sending a text message with a port? If not, whether will be supported in future release? I find SmsManager#sendDataMessage can be used to send a binary message with

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-17 Thread Justin (Google Employee)
Well, sorry this has taken so long to respond to! In the process of trying to write a demonstration I discovered a bug. There is a bug in the emulator code that causes SmsManager.sendDataMessage() to fail due to an infinite loop. A bug has been filed and this should be fixed in a future release o

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-10 Thread anywhere
hi Justin Thanks for your help. But i am still confused about how to set the port, as i did not find any method to set a port for listen coming sms binary message in the document. if i write a appliction to receive the binary sms message how should i do? Thanks On Sep 10, 8:18 am, "Ju

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-09 Thread Justin (Google Employee)
Data messages sent over SMS are limited in length (133 bytes actually), so this is probably the crash that you are running into. The port number is the port on the receiving device that the receiving service is listening on. Presumably your service is bound to this port and waiting for messages.

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-04 Thread plusminus
*bump* I'd like to know that too. How to receive DataMessages then? Btw: your bug may be reated to this one: http://code.google.com/p/android/issues/detail?id=856 Best Regards, plusminus # http://www.anddev.org - Worlds largest Android Development Community On 26 Aug., 05:13, anywhere <[EMAIL