BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 11-13-2007, 11:12 AM   #1 (permalink)
New Member
 
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: Rogers
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Receiving SMS messages.

Please Login to Remove!

Hello,

I am wondering two things.
1) Is it possible to have an application receive ALL incoming SMS messages. Then to pass on the ones it doesn't want and keep the ones it wants. For example, if you send a SMS message from the address "blah", then keep that message in the application. If it's not from blah, ignore it so the user can see it in there regular fashion, i.e. the inbox.

And 2) Is it possible to send an email-to-sms message from a PC to my blackberry so that it is directed to a specific port? Currently, the only thing I've found is UDH (universally defined headers), but I'm not sure if they are working. A big problem with this is also that all messages sent via the "number"@pcs.rogers.com email are not delivered immediately. Instead the user must reply with "read" in the message first to acutally get the message... Is there a way around this?

Thanks everyone.
Offline  
Old 11-13-2007, 11:22 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i did something similar to 1. in my software sms2mail.
you need to open a connector on the sms-port and you'll get the messages exclusively.
you can create a new message object in the inbox and play an alert maybe, not sure about this.

regarding 2: why whould anybody want to send a mail2sms message to a BB? Blackberries can receive mails, thats their reason to exist...
As your BB does not have a public IP you won't be able to access specific ports without using the push service of the BES.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 11-13-2007, 11:31 AM   #3 (permalink)
New Member
 
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: Rogers
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The reason for #2 was an existing implementation... But that makes a lot of sense, so thank you.

As for #1, do you know what the sms port is??? I've tried to find that, but have had no luck... This is how I currently open a connection:
_mc = (MessageConnection)Connector.open("sms://");
and I've also tried:
_mc = (MessageConnection)Connector.open("sms://:somePortNumber");

But I have had no luck in receiving all messages.
Offline  
Old 11-14-2007, 03:17 AM   #4 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i used
Code:
_dc = (DatagramConnectionBase)Connector.open("sms://");
__________________
java developer, Devinto, hamburg/germany
Offline  
Closed Thread


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

WHOLESALE LOT 8X Aastra 6755i VOIP IP TELEPHONE GOOD DISPLAY PHONES+STANDS*WORKS
$362.22
WHOLESALE LOT 8X Aastra 6755i VOIP IP TELEPHONE GOOD DISPLAY PHONES+STANDS*WORKS pictureSNOM 820 SIP VoIP IP Multiline White Business Phone Hi-Res Color 3.5" Display
$79.99
SNOM 820 SIP VoIP IP Multiline White Business Phone Hi-Res Color 3.5Mitel 5212 VoIP Phone Dual Mode Rev C.11
$22.8
Mitel 5212 VoIP Phone Dual Mode Rev C.11 pictureBRAND NEW BOXED WHOLESALE LOT 2x CISCO CP-7945G VOIP IP TELEPHONES COLOR PHONES
$272.22
BRAND NEW BOXED WHOLESALE LOT 2x CISCO CP-7945G VOIP IP TELEPHONES COLOR PHONES pictureNEW Cisco CP-7960G Desktop Business VoIP IP Display Phone
$100.0
NEW  Cisco CP-7960G Desktop Business VoIP IP Display Phone picture






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