jQuery in Action, 2nd edition*
The moose likes Java Micro Edition and the fly likes Sending SMS thru Palm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Sending SMS thru Palm " Watch "Sending SMS thru Palm " New topic
Author

Sending SMS thru Palm

Sanket Bakshi
Greenhorn

Joined: May 11, 2001
Posts: 8
Does J2ME expose any APis for sending or recieving SMS.
Can we connect a mobile device to a Handheld thru a COM port or InfraRed and use any APIs for sending or recieving SMS ?
Can I access any other things on a GSM device.
Like address book etc ?
sebastien GUERLET
Greenhorn

Joined: Jun 28, 2001
Posts: 13
Basically, J2ME doesn't have in his API, acces to adress book or SMS...
But proprietary library exist from the constructor (ex: Siemens give access to SMS, control to vibror, make a phone call...)
Remember all this extensions are not portable...
Sanket Bakshi
Greenhorn

Joined: May 11, 2001
Posts: 8
Yeah,
I know about the proprietory APIs.
The Siemens SL45i and even the Nokia Pc Connectivity SDK.
I had developed a program which used to send SMS using the mobile phone connected to a serial port.
I wanted to know if a similar kind of thing can be done with handheld devices using J2ME.
I would also like to know if the CDC exposes any APIs for communication via the InfraRed port of the device. eg. Palm 3 C
Regards,
Sanket B
Pat Nicholls
Greenhorn

Joined: Jul 19, 2001
Posts: 7
If you can connect your handheld device to a server using WAP you could then write a servlet to send the SMS from there using either a second device attached to that machine or a direct link to a SMSC. Then write J2ME code to connect with this servlet and you should get the result that you want.
Harsha Ravnikar
Greenhorn

Joined: Feb 23, 2000
Posts: 7
Check out www.simplewire.com These guys have released an api for SMS and also have dedicated gateways for SMS.
regards,
Harsha.
harshapr@comatindia.com
sebastien GUERLET
Greenhorn

Joined: Jun 28, 2001
Posts: 13
Well, if you want to have this work on palm, you first have to use CLDC (not CDC). Then, if you use MIDP, the only way you have to connect is http (no IR or serial).In order tu use IR or serial you have to move to another implementation like J9 from IBM.
If you are obliged to use J2ME then send a request from your palm (CLDC/MIDP) via http to a servlet which will do the work for you.

Originally posted by Sanket Bakshi:
Yeah,
I know about the proprietory APIs.
The Siemens SL45i and even the Nokia Pc Connectivity SDK.
I had developed a program which used to send SMS using the mobile phone connected to a serial port.
I wanted to know if a similar kind of thing can be done with handheld devices using J2ME.
I would also like to know if the CDC exposes any APIs for communication via the InfraRed port of the device. eg. Palm 3 C
Regards,
Sanket B

Sanket Bakshi
Greenhorn

Joined: May 11, 2001
Posts: 8
I dont understand the need to connect to a servlet when I want my handhelld device to directly interact with my mobile phone on the IR port or Serial Port.
The application will interact with the mobile phone to send and recieve SMS.
Nokia has a PC Connectivity SDK. It can be used in C++ or VB.
But it cannot be ported over to Palm OS. Thats why I want to know if any such other communication APIs exist.
 
Don't get me started about those stupid light bulbs.
 
subject: Sending SMS thru Palm
 
Similar Threads
Can I use javax.wireless.messaging api in j2se
How to send /receive SMS using the siemens tool kit
how to get message from mobile to midlet
Send SMS in Java
Sms Sending From Pc to mobile