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...
You can use inside of the MIDlet this code:
and the phone will initiate a voice call.
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.
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.
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.