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, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> 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.
>
> Using SMS data messages might not be really what you want to do
> because of their small size. This is not really a feasible replacement
> for GTalk's data messaging functionality.
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Sep 4, 6:08 pm, plusminus <[EMAIL PROTECTED]> wrote:
>
>
>
> > *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 PROTECTED]> wrote:
>
> > > hi all
>
> > >     I am now trying to write some application about sms on 0.9 beta
> > > SDK. The method sendTextMessage of SmsManager class performed well.
> > > But when usingsendDataMessageto send message SDK will crash.
> > >     Would you please explain what's means of destinationPort parameter
> > > and how to set it.
>
> > > Thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to