All tuned if app is put in the active frame?

I have an application that uses the constant GPS, but it doesn't have GPS if the user does not interact with it. Is there a way I can hear if my application is put in and outside the active? I want to be able to have the GPS off when my application is in active frame mode and turned on when it is open.

Thanks in advance. The answers will be be loved and solutions marked as resolved.

Hi bmrr,

You can find this blog useful to make your application to listen to the signal of thumbnail():

http://devBlog.BlackBerry.com/2013/08/listen-up-to-those-important-lifecycle-event-signals/

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • No video AMD pilot plant

    I've recently updated to 10 windows and Skype can't show my webcam video more (he did in windows 8.1). The microphone of my webcam works. When I go into settings, video settings, the webcam is loading continuously and also I get a pop-up that my amd

  • What is the driver used for the PCI8360.

    Hello Need your help We installed the PCI 8360 in the host PC and installed the latest version of NI PXI platform services, but he still sees the device as an unknown device. IUS the PXI platform or services the source of the driver for the PCI 8360?

  • Which account you want to use to run this program?

    A week ago, just after installation of Microsoft Update, when I start my computer, a box came who said: run as.  Which account you want to use to run this program? [x] current [of user\Owner] protect my computer and data from unauthorized program act

  • Windows Vista 64-bit pc can see Win7 Starter PC but not Win 7 Home Premium PC

    We have a network of 3 computers: (1) a desktop PC with Vista 64-bit with all service packs and patches. (2) a netbook with Win7 Starter with all service packs and patches. (3) a netbook with Win7 Home Premium with all service packs and patches. Note

  • I have Vista SP2 and I have a problem with my sidebar... as many others do.

    My sidebar has not worked for some time I ran the command prompt sfc/scan and found no errors in the sidebar, it shows my gadgets, but they don't work... loads of the sidebar and gadgets do not work IE. the clock gadget will load but the hands do not