• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Building SMS Client

 
Ranch Hand
Posts: 143
  • 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
 
Ranch Hand
Posts: 44
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi payal,

thank u for the information, i will verify it.

Regards
Roshini
 
Ranch Hand
Posts: 49
  • 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
  • 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
  • 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
 
Ranch Hand
Posts: 81
  • 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
  • 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: 81
 
Ranch Hand
Posts: 54
  • 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
 
Greenhorn
Posts: 3
  • 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
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic