com.webtrends.mobile.rim
Class WebtrendsUiApplication

java.lang.Object
  extended by UiApplication
      extended by com.webtrends.mobile.rim.WebtrendsUiApplication

public class WebtrendsUiApplication
extends UiApplication

An extension of net.rim.device.api.ui.UiApplication that is designed to be used with applications that implement the BlackBerry Analytics Service. If you extend your application using WebtrendsUiApplication, data about application starts and transitions between states is automatically sent to the data collection server. Alternatively, if you want to have more control over how this data is tracked, you can override activate() and deactivate() to track starts and transitions manually.


Constructor Summary
WebtrendsUiApplication()
           
 
Method Summary
 void activate()
          The system invokes this method when it brings the application to the foreground.
 void deactivate()
          The system invokes this method when it pushes the application to the background.
 void enterEventDispatcher()
          Enters the event dispatcher.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebtrendsUiApplication

public WebtrendsUiApplication()
Method Detail

activate

public void activate()
The system invokes this method when it brings the application to the foreground. Override this method and invoke onApplicationForeground() if you want to manually track instances where the application starts, or moves to the foreground.


deactivate

public void deactivate()
The system invokes this method when it pushes the application to the background. Override this method and invoke onApplicationBackground() if you want to manually track instances where the application moves to the background.


enterEventDispatcher

public void enterEventDispatcher()
Enters the event dispatcher.