Skip to main content

How can i control a tel-call with platformRequest() ?

2 replies [Last post]
joersch
Offline
Joined: 2008-11-06
Points: 0

Hello,

my goal is to initiate a telephone call and then check if the telephone connection is established. I use the platformRequest() Method. The result of them indicate only if is the midlet is still running.
How can i get if the connection is established and perhaps how long?

If someone has an idea?

thanks to all

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tr_med
Offline
Joined: 2006-07-31
Points: 0

Do you try to handle the connection exception? Probably when the connection fails an exception is thrown

jaywayjohan
Offline
Joined: 2008-06-18
Points: 0

Hello,

I think that the functionality you are asking for is not available with the help of platformRequest(). The platformRequest() is designed to start the native application and hand over control to it. The MIDlet is either put in the background or it could be forced to quit.

Regards
Johan