BlackBerryForums.com : Your Number One BlackBerry Community   NextAction! for BlackBerry   

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
yashovardhan Offline
Knows Where the Search Button Is
 
Posts: 18
Join Date: Jan 2007
Location: India
Model: 7230
Carrier: Airtel(india)
Default Unable to send SMS from J2ME application in blackberry 8703e - 01-19-2007, 11:18 PM

Hello All,

I have developed a J2ME midlet for sending sms using Javax wireless API's.I am using java development Environment 4.1.Application is working fine in GSM Blackberry's but in 8703e which is CDMA Blackberry i am unable to send the SMS. Error is thrown. I am not sure this is a setting issue or i have to change the code for sending in CDMA mode.Please help

thanks in advance
Yash
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
John Clark Offline
BBF Nutjob Mod
 
John Clark's Avatar
 
Posts: 30,532
Join Date: Jun 2005
Model: 8320
OS: 4.5.0.xx
PIN: >Options >Status
Carrier: TMobile
Default 01-19-2007, 11:23 PM

Moved to the Developer Forum....you'll have much better luck there.
   
Reply With Quote
  (#3 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 711
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 01-22-2007, 03:30 AM

could you be more specific about the error you get?


java developer, Devinto, hamburg/germany
   
Reply With Quote
  (#4 (permalink)) Old
yashovardhan Offline
Knows Where the Search Button Is
 
Posts: 18
Join Date: Jan 2007
Location: India
Model: 7230
Carrier: Airtel(india)
Default 01-23-2007, 12:44 AM

Quote:
Originally Posted by yashovardhan
Hello All,

I have developed a J2ME midlet for sending sms using Javax wireless API's.I am using java development Environment 4.1.Application is working fine in GSM Blackberry's but in 8703e which is CDMA Blackberry i am unable to send the SMS. Error is thrown. I am not sure this is a setting issue or i have to change the code for sending in CDMA mode.

Input Output Exception is thrown when trying to send using message connection object.But for GSM phone no error is thrown. i tried changing options in blackberry like diasbling the firewall, allowing user contents etc but still not working

Please help

thanks in advance
Yash
   
Reply With Quote
  (#5 (permalink)) Old
Gautamb Offline
New Member
 
Posts: 1
Join Date: Jul 2007
Model: 7250
PIN: N/A
Carrier: Verizon
Default 07-11-2007, 02:27 PM

Any chance anyone has a solution to this? The exception that's thrown for me is just a nondescript IOException...no idea what the problem in particular is. This does not happen on a GSM phone just as the case that the OP had.
   
Reply With Quote
  (#6 (permalink)) Old
Meenal Offline
Thumbs Must Hurt
 
Posts: 79
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Default 10-16-2007, 12:55 AM

Did u get ur query solved ... if yes, do let me know.I am facing the same problem.

I am sending autosms thru my aaplication. It works fine GSM devices.But on CDMA devices, it goes as far as asking me permission for the sms connection but does not send the sms. can some pls help.


Thanks
Meenal
   
Reply With Quote
  (#7 (permalink)) Old
Meenal Offline
Thumbs Must Hurt
 
Posts: 79
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Default 10-16-2007, 06:59 AM

I think the applications for CDMA and GSM have to developed differently,as both are different technologies.


Thanks
Meenal
   
Reply With Quote
  (#8 (permalink)) Old
airan Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: Airtel
Default Please take it as important ..! - 03-18-2008, 04:47 AM

Dear BB moderator/BB tech support team,

There are innumerable number of posts looking for SMS send and receive answers on CDMA devices. Help/clarification from BB tech support team will be much appreciated. \

The issue is, a piece of code to send SMS via WMA API works fine on GSM devices but always fails on CDMA devices.

Question:
1) Is the CDMA IS 637 Adaptor (described in JSR 120) implemented on all/any CDMA BB.

(2) If answer to (1) is "no" is there any BB CDMA device that has this adaptor implemented ?

(3) Is there any workaround/alternative API we can use to send an SMS to a particular destination on this device ?


Thanks
Amit

Last edited by airan : 03-18-2008 at 05:49 AM.
   
Reply With Quote
  (#9 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 711
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 03-18-2008, 07:35 AM

this is the code i use to send a sms, never used a cdma-device though.

Code:
MessageConnection _dc = (MessageConnection)Connector.open("sms://"+number);                 
Message sms = _dc.newMessage(MessageConnection.TEXT_MESSAGE);
TextMessage sms2 = (TextMessage)sms;
sms2.setPayloadText(msg);          
_dc.send(sms2);


java developer, Devinto, hamburg/germany
   
Reply With Quote
  (#10 (permalink)) Old
jeyaprakash.c Offline
Thumbs Must Hurt
 
Posts: 55
Join Date: Oct 2007
Location: chennai.india
Model: 8100
PIN: N/A
Carrier: airtel
Arrow 03-19-2008, 04:19 AM

hi all

Using datagram connection i can send and receive sms via cdma phones. But cdma 4.3 os devices wont support my code i use same code its works fine on GSM devices is there any limitations in 4.3 Rim os?


thanx n regards
jeyaprakash.c
   
Reply With Quote
  (#11 (permalink)) Old
manjusum Offline
New Member
 
Posts: 1
Join Date: Dec 2007
Model: 8830
PIN: N/A
Carrier: REALTECH
Default Unable to send SMS from J2ME application in blackberry 8703e - 04-16-2008, 04:12 AM

Hi Jeya,

May be you should try this -

Livelink - Redirection


Quote:
Originally Posted by jeyaprakash.c View Post
hi all

Using datagram connection i can send and receive sms via cdma phones. But cdma 4.3 os devices wont support my code i use same code its works fine on GSM devices is there any limitations in 4.3 Rim os?
   
Reply With Quote
  (#12 (permalink)) Old
airan Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: Airtel
Default 05-14-2008, 04:57 AM

Hi Jeyaprakash,
When i try to use the sample code(with DatagramConnection and Datagram and no rim specific APIs), the message is terminating with junk characters(may be as binary).

Were u able to send the text message correctly .Can u pls share ur send msg code ?


Thanks
Amit
   
Reply With Quote
  (#13 (permalink)) Old
mobiugo Offline
New Member
 
Posts: 1
Join Date: May 2008
Model: 8310
PIN: N/A
Carrier: rogers
Default 05-17-2008, 06:35 AM

Did this get resolved? If so, any suggestions? I have a similar issue.

Thanks
   
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




NextAction! for BlackBerry


Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1