I want to know when an incoming calls happened. I want to stop the timer while the call is active, when the call be not active i want to activating the timer.
Could I handle this in LWUIT?
Thanks a lot in advance,
You can't detect incoming calls. You can override the MIDlet pause method which *should* get called in such occasions after which startApp will be invoked again to resume your app.
I put Log.p("On resume called"); in onResume method and I tried to call my self,
when the dialer number appeared the app disappeared and when i accepted the call the app appeared again, I saw the log but no lines written. So, I cant handel this issue in onResume method.
Please try it, and tell me what i shall do.
Mohammad Abu Hmead
MIDlets startApp will be invoked again
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.