BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 02-26-2009, 04:13 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Sep 2007
Location: Delaware
Model: 8310
Carrier: AT&T
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Turn off MIDI/MP3 Music when inactive

Please Login to Remove!

I want to include background music in my games. I know how to do it but I don't know how to make it stop when my game loses focus...say when you press the red (hangup) phone button.

Is there an event that fires when your app is no longer active or I should say no longer the top-most screen? BTW...I'm using MainScreens and FullScreens in my app--FullScreen mainly.

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