BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-07-2007, 08:50 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Send SMS

Please Login to Remove!

Hi
I have to make an application for my company where the application sends fixed text sms .Now this sms should be automatically sent w/o informing the user to another cellph whose number will be predefined by the user.

The examples about sms the application guides include datagram connetion. but i do not want to use datagram connection,as tht message does not go another cellph.

Can somebody please help.
__________________
Thanks
Meenal
Offline  
Old 08-07-2007, 10:14 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2006
Model: 8300
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use javax.wireless.messaging.MessageConnection and textmessages instead of datagrams.
Offline  
Old 08-08-2007, 12:45 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
I agree ... but whatever examples i have seen on net or else where, they ask for an smsc number.and i am not able to retrive tht number.
Any idea hoe tht can be obtained.
There is a System.getProperty(wireless.messaging.sms.smsc) but i have been unable to obtain it.it gives a null value.
any suggestion how tht can be obtained.
__________________
Thanks
Meenal
Offline  
Old 08-08-2007, 10:13 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2006
Model: 8300
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try using net.rim.device.api.system.SMSParameters and getSCAddress()
Offline  
Old 08-09-2007, 01:36 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i jave already tried tht .... but it gives a null value. . Do u have any other suggestions i could try.
__________________
Thanks
Meenal
Offline  
Old 08-10-2007, 07:46 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

can somebody tell how to retrive SMSC number from the phone programmatically .... or is tht blackberry does not allow one to retrive SMSC number programaticaly.
Pls help.
__________________
Thanks
Meenal
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.