|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectApplication
com.webtrends.mobile.rim.WebtrendsApplication
public class WebtrendsApplication
An extension of net.rim.device.api.system.Application
that is designed to be used with applications that implement the BlackBerry Analytics Service. If you extend your
application using WebtrendsApplication, 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 | |
|---|---|
WebtrendsApplication()
|
|
| 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 |
|---|
public WebtrendsApplication()
| Method Detail |
|---|
public void activate()
onApplicationForeground()
if you want to manually track instances where the application starts, or moves to the foreground.
public void deactivate()
onApplicationBackground()
if you want to manually track instances where the application moves to the background.
public void enterEventDispatcher()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||