Skip navigation
Currently Being Moderated

iPhone - Multitasking / Event.ACTIVATE Event.DEACTIVATE

Feb 25, 2012 9:22 AM

Tags: #iphone #active #event



I'm using a native extension to deal with the iPhone's mute button (  but it seems to loose it's way when the application goes into background mode. So what I'm trying to do is figure out when my application regains focus so I can reset it.


I try to do this using:


NativeApplication.nativeApplication.addEventListener(Event.ACTIVATE,Be comeActive)

NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, BecomeDeActive)


But whatever I do on my phone - BecomeActive not BecomeDeActive are never called. Do I understand this concept correctly or am I doing something wrong?


Thanks in advance




More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points