File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Building SMS Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Building SMS Client " Watch "Building SMS Client " New topic
Author

Building SMS Client

Roshini Sridharan
Ranch Hand

Joined: Jan 16, 2001
Posts: 143
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

Joined: Oct 11, 2005
Posts: 44
Look at the URL below:

Sending/Receiving SMS on J2ME device
http://www.java-tips.org/content/view/98/39/
Roshini Sridharan
Ranch Hand

Joined: Jan 16, 2001
Posts: 143
hi payal,

thank u for the information, i will verify it.

Regards
Roshini
Jignesh Kakkad
Ranch Hand

Joined: Apr 09, 2004
Posts: 49
hi

this is normal code for the WMA!

it wont able to block the normal smses


regards


Jignesh Kakkad<br />Cellent Technologies Pvt Ltd<br />Nariman Point<br />Mumbai
Roshini Sridharan
Ranch Hand

Joined: Jan 16, 2001
Posts: 143
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

Joined: Apr 09, 2004
Posts: 49
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

Joined: Mar 18, 2002
Posts: 80
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

Joined: Jan 16, 2001
Posts: 143
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

Joined: Mar 18, 2002
Posts: 80
http://developers.sun.com/techtopics/mobility/midp/articles/pushreg/
Richard Everhart
Ranch Hand

Joined: Nov 19, 2003
Posts: 54
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

Joined: Jun 24, 2004
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Building SMS Client
 
Similar Threads
Opinion on SMS
sending jar file from webserver to phone ??
Converting String to UTF-8?
guidance needed for java code - send SMS to phone
How to specify the SMS port number for application using GSM modem