| Newsgroups |
gmane.comp.java.sun.kvm |
| Message-ID |
<29485105.111811207320195695.JavaMail.tomcat@sdcst12.sjc.collab.net> |
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
[Message sent by forum member 'sfitzjava' (sfitzjava)]
http://forums.java.net/jive/thread.jspa?messageID=267740
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".