I know that all cell phones have a built-in address book, but I'm just curious if I could build my own that allowed me to select an entry and then dial the number associated to it. I've seen a lot of articles about serial port access, HTTP, etc. but nothing on dialing...
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
Jason
You can use inside of the MIDlet this code:
platformRequest("tel:+551188888888");
and the phone will initiate a voice call.
Rodolfo Machado
To add to this, this is available only in MIDP 2.0. So the phone should first support MIDP 2.0. Also, I believe supporting this feature is implementation-dependent. So it might not be available by all MIDP 2.0 compliant devices.
Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
Originally posted by Jason Fox:
My understanding is that dialing is completely up to the individual phone manufacturer. I was not aware of any J2ME classes for any version of midp or cldc that do any dialing. I do know that several OEMs, including Motorola (on which I do most of my J2ME) offer APIs that do things like dialing. However, using an OEM API means that your MIDlet will not be portable.
Jason
Jason,
I'm interested in working with someone, or team of someones, who is capable of creating the simplest of voice activated dialing applications that can run on many phones. Core requirement: any audio input from the audio port causes a designated number to be dialed, WITHOUT pressing any button on the phone (except to turn the phone on or off, of course). If you can identify someone, or have someone get in touch with me, you will be doing a good deed.
Thanks,
Robert
Boone Cellular Companions, LLC<br />972-841-9649

It is sorta covered in the JavaRanch Style Guide. |