Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending SMS thru Palm

 
Sanket Bakshi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic