|ingvar_e ||11-20-2009 02:10 PM |
Running GlobalEventListener and PhoneListener
I have tried numerous approaches to combine GlobalEventListener and PhoneListener but none works. I need to be able to tell the PhoneListener to do things including shutting down. And it has to be done from an application I am developing. The only way suggested for instant communication between apps are GlobalEvents. The closest I got is a testmodule that crashes at start or if I change it a bit only functions as a phone listener. So there seems to be conflict here. The best structural approach seems to be to only use the GlobalEventListener since it can catch all events. Problem with this is that there seems to be no documentation on the phone events. At least I have not found any. Anyone succeeded with this?
|ingvar_e ||11-24-2009 06:28 AM |
This problem has also been discussed on blackberry.com and the result is that it is not a good idea to combine these 2 listener. It is however possible to send globalevents from the Phonelistener
|All times are GMT -5. The time now is 10:33 AM. || |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.