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


Audio Impedance Tester Portable CATIII Test Ranges 20/200/2000 Resistance Meter picture

Audio Impedance Tester Portable CATIII Test Ranges 20/200/2000 Resistance Meter

$84.99



Fluke  845AR High Impedance Voltmeter-Null Detector picture

Fluke 845AR High Impedance Voltmeter-Null Detector

$500.00



WPI ISOMIL Optically isolated high-impedence millivoltmeter picture

WPI ISOMIL Optically isolated high-impedence millivoltmeter

$216.91



BECO Universal Impedance Bridge Model 315A, Brown Electro Measurement Corp. 315A picture

BECO Universal Impedance Bridge Model 315A, Brown Electro Measurement Corp. 315A

$129.99



New Tonghui TH2810D LCR Meter Digital Eectrical bridge impedance measurement picture

New Tonghui TH2810D LCR Meter Digital Eectrical bridge impedance measurement

$499.00



Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System picture

Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System

$88.00







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