06-27-2013 08:28 AM
I want to develop the application which checks background to foreground event. Using onExposed() method its working fine but onExposed() call frequently not only for background to foreground event but when other screens gets call or on custom fields such as dropdown,popup,dialog,.. My method contains webservice call and lots of checking on web . So this call is written in onExposed() due to that my application becomes too slows. So Please tell me way to check only background to foreground event handling mechanism.
06-27-2013 08:33 AM
06-27-2013 09:01 AM
I tried this but it not works Please tell me any othe way for this..
Can you give a code snippet of your try?
I am using it in several applications successfully.
06-28-2013 01:01 AM - edited 06-28-2013 01:33 AM
Thanks for your quick reply
I tried this by putting simple Dialog in activate() method But its not works for background to foreground event.
On Dialog it shows warning as "Warning!: method 'mypackage.MyScreen.activate()' not invoked."
Please tell me why this warning comes in case of activate() not for onExposed() method.
06-28-2013 04:04 AM