File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Building SMS Client

 
Roshini Sridharan
Ranch Hand
Posts: 143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Would like to know how to build a SMS Client and introduce spam filter mechanism to block message from certain mobile no's.. it would be of great help if i could get some idea of how to proceed with this.

Thanx in advance.

Regards
Roshini.S
 
payal agrawal
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the URL below:

Sending/Receiving SMS on J2ME device
http://www.java-tips.org/content/view/98/39/
 
Roshini Sridharan
Ranch Hand
Posts: 143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi payal,

thank u for the information, i will verify it.

Regards
Roshini
 
Jignesh Kakkad
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

this is normal code for the WMA!

it wont able to block the normal smses


regards
 
Roshini Sridharan
Ranch Hand
Posts: 143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

Is there any way around of how to build SMS Client with filtering mechanism using WMA.

Thanx in advance.
Regards
Roshini.S
 
Jignesh Kakkad
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i dont think this is possible
i have downloaded one code where you can call the Symbian method!!
but that would run on other phone

regards
 
Juarez Alvares Barbosa Junior
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

You can filter the sender using the PushRegistry, take a look below:

MIDlet-Push-1: sms://:12345, SmsExample, 123456789
MIDlet-Push-2: sms://:12345, SmsExample, *

The filter set to "*" to indicates that any sender is
accepted.

Hope this helps!

Best,
 
Roshini Sridharan
Ranch Hand
Posts: 143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

Can i get more information on that.. any web reference, articles/tutorial.. would be of great help.

Thanx in advance.

Regards
Roshini.S
 
Juarez Alvares Barbosa Junior
Ranch Hand
Posts: 80
 
Richard Everhart
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Juarez,

You said,

You can filter the sender using the PushRegistry, take a look below:

MIDlet-Push-1: sms://:12345, SmsExample, 123456789
MIDlet-Push-2: sms://:12345, SmsExample, *

The filter set to "*" to indicates that any sender is
accepted.


But, wouldn't filtering using the PushRegistry would only work when the app is not currently running? Meaning that if the app was running some other mechanism would have to be used to filer SMS message based on their origin. I'm somewhat new to J2ME programming so please correct me if I'm wrong.

Richard
 
Roshni Thilakhar
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a question, are phone numbers allowed in the "Allowed Sender" field for MIDP 2.0? It clear that IP addresses can be used. The following info is what I found at the MIDP 2.0 Push Registry site:

MIDlet-Push-<n>: <ConnectionURL>, <MIDletClassName>,
<AllowedSender>

<Allowed-Sender> is a filter used to restrict the servers that can activate <MIDletClassName>. You can use wildcards; a * indicates one or more characters and a ? indicates one character. For example, 192.168.1.190, or 192.168.1.*, or 192.168.19?.1, or simply *.

Any help will be greatly appreciated.

Shakila
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic