Skip to main content

Re: SMS mobile

8 replies [Last post]
Anonymous

Certainly won't be able to do that with JME, I doubt you can with Symbian
either.

You're talking about replacing the whole OS on the phone basically. You
should probably look at some form of linux, maybe android will be open
enough for you to do this but it's of course not something that you could
get you users to do.

You'd have to spend some serious time with a specific device replacing all
it's software, it's much more low level than I would know much about anyway.

eric

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hartti Suomela

With Java ME you can only "see" (receive/intercept) incoming messages
which are sent to the port which your MIDlet is listening to. If the
other end is using your application which sends the messages only to
this specific port, then yes, you can create a messaging application.

However people using a normal SMS programs on their phones cannot send
messages to your program (as in those programs you cannot define the
port..)
Those messages will go to the native SMS inbox

Hartti Suomela
Forum Nokia

-----Original Message-----
From: A mailing list for KVM discussion
[mailto:KVM-INTEREST@JAVA.SUN.COM] On Behalf Of ext
owner-kvm-interest@JAVA.SUN.COM
Sent: Thursday, April 03, 2008 4:01 PM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: Re: SMS mobile

Thanks Hartti.
Then that brings up the question of whether the Java ME can predictively
receive SMS messages at all? If I send an SMS message that generates a
reply, can I be sure that the Java code will receive it?
[Message sent by forum member 'gorangio' (gorangio)]

http://forums.java.net/jive/thread.jspa?messageID=267648

========================================================================
===
To unsubscribe, send email to listserv@java.sun.com and include in the
body of the message "signoff KVM-INTEREST". For general help, send
email to listserv@java.sun.com and include in the body of the message
"help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

anton34
Offline
Joined: 2008-04-02
Points: 0

what about AMS who manage the midlets...there is not way?

anton34
Offline
Joined: 2008-04-02
Points: 0

so,there are not tools for manage the sms function on phones using javaME?
realy not?what about not changing dramatically the OS as a friend said before,but some kind of control of sms functions,when you turn on the phone and appear as normal but start a mecanism that guide you to SMS mode,ready to compose
then a trigger systems....and there is not way of connecting this with the function of "send sms"( the sms composed before,,the hole 10 caracters who trigger the function send)to another phone number?
anton

sfitzjava
Offline
Joined: 2003-06-15
Points: 0

Correct, as previously stated Hartti, JavaME can not hook into the normal SMS port. This is because it would be a security issue. To allow this would allow for spammers and hackers to setup scams that might defraud the industry.

However mobile OS's such as Windows Mobile can do this (as if that was a big surprise).

HOWEVER... If you want to work very closely with Sprint, T-mobile, AT&T, or maybe Nokia, SonyEricsson, or Motorola, I'm sure they would provide you a means to allow you to build that into the system. At my job I work with these firms, and we have built systems that do hook into the device at a very low level. In the case of Samsung/Sprint new Instinct phone we built some of the main applications that appear as device services. They allow this because we have years of working with Sprint, a staff of proven developers, and a process to verify that no backdoors or malware finds its way to the device.

Remember Java (and thus JavaME) were designed from the beginning to be safe and secure ways to work over the internet. So while I too wish there were some more openness to the telecom market, this is one place that letting any weekend warrior build apps that could spy on, spam, or scam a user I feel needs to be locked down.

You could write your own SMS applications in JavaME that could talk with other devices that too had this special SMS app, and using pushregistry for SMS make something like you are looking for. But it would be required to only talk to devices that shared this application. For devices that didn't they message will go into their normal SMS app, but their replies would not return into your special app. This would have limited market reach as SMS pushregistry is not widely allowed by the mobile operators in the US.

I hope this explains why you are not allowed to just hook into the normal SMS stream, and why doing so is a bad thing, as well as providing an example of how it might be done.
Here is my Javaone presentation from a few years back that might help you as well
http://onshoresystems.com/smsapi/JavaOne05-BOF9941.pdf

regards,
-Shawn

anton34
Offline
Joined: 2008-04-02
Points: 0

oh thanks,a master on his job!,thanks Iwill read carefully the doc

Hartti Suomela

On most on the phones this is not possible. Java ME (MIDP/CLDC)
definitely does not allow you to do this.

On phones which allow native application development (like Symbian-based
devices) this should be possible (although I am not enough of an expert
on Symbian C++ coding for example to say if this is possible and how to
do that)

best regards
Hartti Suomela
Forum Nokia

-----Original Message-----
From: A mailing list for KVM discussion
[mailto:KVM-INTEREST@JAVA.SUN.COM] On Behalf Of ext
owner-kvm-interest@JAVA.SUN.COM
Sent: Thursday, April 03, 2008 6:06 AM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: Re: SMS mobile

I understand that anton34's request is quite aggressive, however I am
interested in one portion of the functionality he describes. That is,
is it possible to override the management of all SMS messages? That is,
can a tool be build that will reliably "replace" the phone's existing
SMS tool for sending and most significantly receiving messages?
[Message sent by forum member 'gorangio' (gorangio)]

http://forums.java.net/jive/thread.jspa?messageID=267544

========================================================================
===
To unsubscribe, send email to listserv@java.sun.com and include in the
body of the message "signoff KVM-INTEREST". For general help, send
email to listserv@java.sun.com and include in the body of the message
"help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

gorangio
Offline
Joined: 2004-03-04
Points: 0

Thanks Hartti.
Then that brings up the question of whether the Java ME can predictively receive SMS messages at all? If I send an SMS message that generates a reply, can I be sure that the Java code will receive it?

gorangio
Offline
Joined: 2004-03-04
Points: 0

I understand that anton34's request is quite aggressive, however I am interested in one portion of the functionality he describes. That is, is it possible to override the management of all SMS messages? That is, can a tool be build that will reliably "replace" the phone's existing SMS tool for sending and most significantly receiving messages?