You Are Here:

Community: Developer Discussion Boards

#1 Old Sending Binary Sms - 2005-09-29, 14:09

Join Date: Sep 2005
Posts: 13
tonino12345
Offline
Registered User
Hi, is it possible send binary sms with message module such as in j2me platform?
Reply With Quote

#2 Old Re: Sending Binary Sms - 2005-10-05, 10:00

Join Date: Mar 2003
Posts: 18
varunc
Offline
Registered User
i think not. Unless you base64 encode your data (in which case it will be about 33% larger than your original data). The problem lies mainly in the 7bit encoding of SMS. You might also consider writing an extension module which uses 8bit encoding.
Reply With Quote

#3 Old Re: Sending Binary Sms - 2005-10-05, 11:47

Join Date: Jun 2005
Posts: 928
dcrocha's Avatar
dcrocha
Offline
Forum Nokia Expert
It is possible.

public void sendBinaryMessage
(MessageConnection connection, String destAddress, byte[] Body) {

// Construct the message
BinaryMessage Message = (BinaryMessage)connection.newMessage(
MessageConnection.BINARY_MESSAGE,
"sms://" + destAddress + ":7500");

// Set the payload
Message.setPayloadData(Body);

Please check the WMAExample doc in Forum Nokia:

http://www.forum.nokia.com/info/sw.n..._v1_0.zip.html

Daniel
Reply With Quote

#4 Old Re: Sending Binary Sms - 2005-10-25, 19:26

Join Date: Mar 2003
Posts: 18
varunc
Offline
Registered User
I thought he was referring to Python. In j2me of course its possible
Reply With Quote

#5 Old Re: Sending Binary Sms - 2005-10-25, 20:32

Join Date: Sep 2005
Posts: 13
tonino12345
Offline
Registered User
Yes, varunc, I was referring to python . I've just developed an application in j2me that sends ciphered binary SMS. I would know if exists a solution to realize this with python. Thanks to all.

Tonino.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Error sending SMS jorge_c Multimodecards 0 2003-10-07 12:53
Sending binary sms with D211 card Patru Multimodecards 1 2003-06-18 09:25
SENDING of Binary SMS (again) jthieble Multimodecards 2 2003-06-02 22:30
Sending binary data through SMS gdesantos General Symbian C++ 1 2003-05-14 21:49
Sending binary data through SMS gdesantos General Symbian C++ 1 2003-04-14 18:36

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia