INCOMING CALL

Is there any way to listen for an incoming call or communicate with lower level functions such as the ringer? All responses are greatly appreciated. (please confirm one way or the other, many thanks!)
[214 byte] By [emjay411] at [2007-9-26 9:31:39]
# 1

Hi,

I donot have full knowladge about this but what I know is u can make this my walking to the phone vendor.

As he can give the hardware inturrepts model of his phone...

J2ME does not wrap "ringer" in it...

so u will have to make so classes and some native codes for every phone.

(I am sorry if i am wrong somewhere... please let me i am )

Regards,

Neo

nitin_matrix at 2007-7-1 20:56:59 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

Hi all!

As MIDP/CLDC does not support calling native methods you do not have the ability to add missing functionality like triggering the vibrator or making the phone ring yourself.

You can, however, see what OEM APIs the device manufacturer provides with his device. For example, Siemens adds, besides the ordinary MIDP/CLDC classes, own classes which can trigger the Vibrator, switch the light on and so on ...

Regarding the question whether you can intercept incoming phone calls or be notified whenever an external event occurs, I have to disappoint you. MIDP/CLDC does not include the ability for such a framework. However, MIDP NG (next generation - MIDP's follow up) will possibly include something like that. See the JCP of MIDP NG for more information ...

Hope this helps,

.bbr

mppben at 2007-7-1 20:56:59 > top of Java-index,Java Mobility Forums,Java ME Technologies...