Skip to main content

outgoing phone calls from a j2me app

1 reply [Last post]
ainvoner
Offline
Joined: 2009-08-29
Points: 0

hi,
I woul'd like to know if it is possible to do the next thing in j2me:

create a few buttons, each button represents a phone number,
when the user push the button, a phone call to the selected number
is being made.

if it's possible please give me a link to a tutorial or an api,

thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sfitzjava
Offline
Joined: 2003-06-15
Points: 0

http://developers.sun.com/mobility/midp/ttips/platformRequest/index.html

Using the midlet.platformRequest("tel:");
you should be able to get a MIDP2 app to cause the phone to go into call mode.

I'm sure some operator and phone makers have messed it up so it doesn't work
correctly, but for the most part it should work on the mainstream stuff.

-Shawn