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


NSI NMS-3 Non-Metallic Cable Splice 12-14 AWG For 3 Conductor Cable With Ground picture

NSI NMS-3 Non-Metallic Cable Splice 12-14 AWG For 3 Conductor Cable With Ground

$32.00



Multi-Conductor Cable picture

Multi-Conductor Cable

$20.95



Solid Indoor 10/2 W/G Type NM-B Cable 50ft Coil Heavy duty Copper Building Wire picture

Solid Indoor 10/2 W/G Type NM-B Cable 50ft Coil Heavy duty Copper Building Wire

$80.18



3 AWG Gauge Stranded Copper Building Wire– 600 Volt UL Listed Cut (60 FT) picture

3 AWG Gauge Stranded Copper Building Wire– 600 Volt UL Listed Cut (60 FT)

$134.40



75 ft 6/3 UF-B WG Underground Feeder Direct Burial Wire/Cable picture

75 ft 6/3 UF-B WG Underground Feeder Direct Burial Wire/Cable

$328.95



Belden 9341 18/1P Shielded Pair High Performance Instrumentation Tray Cable E2 picture

Belden 9341 18/1P Shielded Pair High Performance Instrumentation Tray Cable E2

$499.99







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