BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-18-2008, 08:47 AM   #1
NecroSado
New Member
 
Join Date: Sep 2008
Model: 8110
PIN: N/A
Carrier: Cingular
Posts: 2
Question Pearl 8110 behaviour when call Ignored

Please Login to Remove!

Hi,

I noticed that when you receive a call, it generally gives your application something in these methods:
  • protected void onVisibilityChange(boolean visible)
  • protected void onUnfocus()
  • protected void onUndisplay()
  • protected void onObscured()
  • public void deactivate()
  • protected void onFocusNotify(boolean focus)

However, this is not hapenning on this device (while it is on 8100, and all others i've tested).

This is annoying since i cannot make my game pausing when ignoring a call. I would simply declare it's a third party bug, but i also noticed the Brickbreakers application does recognize the call and make itself paused.

The other idea i tried is adding a PhoneListener. This is working, but... the user have to "Allow" the application to use this API, even if our application is signed.

2 questions:
  1. Is there another way to detect this interruption?
  2. Is there a way to use PhoneListener without asking the user to do it?

Any other suggestions are welcome!
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


AlphaSmart NEO2 Tested Laptop Word Processor New BATTERIES USB Cable picture

AlphaSmart NEO2 Tested Laptop Word Processor New BATTERIES USB Cable

$78.00



B&R Processor  3IF260.60-1 USED picture

B&R Processor 3IF260.60-1 USED

$388.88



Metrohm 838 Advanced Sample Processor - Not Working picture

Metrohm 838 Advanced Sample Processor - Not Working

$599.24



Olympus System CV-150 Video Processor  picture

Olympus System CV-150 Video Processor

$5000.00



CYTYC ThinPrep 2000 Processor picture

CYTYC ThinPrep 2000 Processor

$580.00



NOTIFIER CPU-2020 FIRE ALARM PANEL picture

NOTIFIER CPU-2020 FIRE ALARM PANEL

$129.99







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