0

Can anyone please tell me which port numbers can i use for my application's BroadCast Receiver?

Actually my application is supposed to receive SMS on custom port, which it does, but the problem is that i have another application which also listens on a different port number (1st App listens on port 31101 and 2nd app on port 8905). For sake of acknowledgement of receipt of SMS message, i create a Notification in the notifications panel.(for each app).

Now the problem is that wen i send a data SMS using sendDataMessage() (of SMSManager) to my 2nd app, along with the notfication for my 2nd app, even my first App's Notification is displayed in the Notifications panel.

Can anyone please tell me why this is happening and what is the solution (or workaround) for the problem?

Thanks in advance.

Siddhant
  • 1,054
  • 12
  • 22
  • Here you have some answers: http://stackoverflow.com/questions/2726976/how-to-receive-text-sms-to-specific-port . However, You should know that some carriers can cut your "hidden" messages. – Damian Kołakowski Apr 13 '12 at 11:45
  • I'd checked out that question a long time ago.. In fact i believe i've even put up an answer there.. By d way, what exactly do u mean by "cut hidden messages"..?? – Siddhant Apr 16 '12 at 09:36

0 Answers0