Pages 1 of 1  
Forums  >> Sprint's Developer Sandbox - Network/Product Services  >> App code to work on Sprint Network

Todd Ustby
Rank :User
Posts:2
Overall Rating:0
Subject:
App code to work on Sprint Network
Date:
2009-11-06 at 10:23 AM CST

We have written an app for the BlackBerry, but it doesn't work on the Sprint Network. Rim suggested that we need to modify the app to use a DatagramConnection to send SMS on the CDMA Network. We tried this and it still didn't work. Is there someone that can help with our code so we can get it to work on the Sprint BlackBerry phones?

Thanks, Todd Ustby
New Call Waiting


Ryan_Wick_sprint *
Rank : Star Contributor *
Posts:242
Overall Rating:99
Subject:
re: App code to work on Sprint Network
Date:
2009-11-06 at 11:40 AM CST

In the future please post this question in other sections such as JavaME or messaging to get a better response from the community who may monitor those topics.

What code are you trying for example the below should be working for you:

MessageConnection conn = (MessageConnection) Connector.open("sms://5555551234");

//create a new TextMessage
TextMessage msg = (TextMessage) conn.newMessage(MessageConnection.TEXT_MESSAGE);

//set the payload text
msg.setPayloadText("Hey dude");

//send the message
conn.send(msg);

Ryan Wick
Sprint ADP Team


Todd Ustby
Rank :User
Posts:2
Overall Rating:0
Subject:
re: App code to work on Sprint Network
Date:
2009-11-09 at 09:08 AM CST

Ryan,
The information you gave us, we tried and it didn't work. Can you email me? I have a couple more questions to ask you.
Thanks, Todd
ustbytodd@charter.net


Message will be posted within 2 minutes.
Pages 1 of 1