BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-19-2010, 06:26 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Model: 8300
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post To get details information of one application program from another application prog..

Please Login to Remove!

I am creating an sms application program where i am getting exception that "sms port already used". Can i get that which application program is currently using that port number.

I am sucessfully getting all the appication name in my mobile programmatically. but no details...

Thanks in advanced... please reply soon...
Offline  
Old 10-19-2010, 08:34 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

No, you cannot determine the name of the application using the port.

I suggest that you utilize the datagram method to listen for SMS, which does not have the single-application limitation.
Offline  
Old 10-19-2010, 11:56 PM   #3 (permalink)
New Member
 
Join Date: Aug 2010
Model: 8300
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Red face

Thanks for your reply...
I am developing an applicatoin which would give me mobile number of the sms which comes on default port.
I want to read the sms info which comes on default port..
I am using datagram for sending the sms but for listen the sms i need to used default port "ZERO" .
can i have any solution on it...............
Offline  
Old 10-20-2010, 07:34 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Like I said, use the datagram method to listen for the SMS.
Offline  
Old 10-20-2010, 08:15 AM   #5 (permalink)
New Member
 
Join Date: Aug 2010
Model: 8300
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question

ok thanks once again...

But can i listen service sms or sms send by any body on that phone number.
ie the message that goes to the inbox.....

can i read any sms that come to my mobile using datagram....

thanks..
Offline  
Old 10-20-2010, 09:32 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You can receive any SMS message sent to the device using a datagram.
Offline  
Old 10-22-2010, 01:41 AM   #7 (permalink)
New Member
 
Join Date: Aug 2010
Model: 8300
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Red face

I have read that datagram doesnot work with outBoundListener.
That is i cannot listen outgoing sms using datagram..
If yes can u plz explain in programmatically form.

thanks....
Offline  




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