You need to set the port numbers to the values required by picture messages.
On Feb 12, 8:04 pm, chandru <[email protected]> wrote: > Hi, > > I need to send a picture message, is it possible to send > through binary sms. > > I have tried in this way, i am not clear in that > > byte[] byt = {0x004a, 0x003c, 0x006d, 0x003f, > 0x005e}; > obmsg = new OutboundBinaryMessage("+91xxxxxxxx", byt); > srv.sendMessage(obmsg); > > Message have been sent, i got the result like this > > Gateway Id: modem.com4 > Encoding: 8-bit > Date: Thu Feb 12 17:11:49 IST 2009 > SMSC Ref No: 67 > Recipient: +919xxxxxxxxx > Dispatch Date: Thu Feb 12 17:11:57 IST 2009 > Message Status: SENT > Validity Period (Hours): -1 > Status Report: false > Source / Destination Ports: -1 / -1 > Flash SMS: false > Binary: 4A3C6D3F5E > =========================================================================== > ==== > > Now Sleeping - Hit <enter> to terminate. > > I received message in mobile like this > > J<m?^ > > Please anyone give the solution for this, its very urgent --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" 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/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
