BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-20-2009, 01:10 PM   #1 (permalink)
New Member
 
Join Date: Nov 2009
Model: none
PIN: N/A
Carrier: none
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Running GlobalEventListener and PhoneListener

Please Login to Remove!

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?
Offline  
Old 11-24-2009, 05:28 AM   #2 (permalink)
New Member
 
Join Date: Nov 2009
Model: none
PIN: N/A
Carrier: none
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.