Webtrends Mobile Library for BlackBerry Version 1.1, August 2011
An introduction and quick start guide to working with the Webtrends Mobile Library for BlackBerry development.
Download the Mobile Application Analytics library for BlackBerry from the Developer Network.
Welcome to the Mobile Application Library for BlackBerry. The Library provides a highly customizable integration with the BlackBerry OS version 4.5 and higher that allows you to send data to Webtrends every time a significant event occurs in your mobile application. You can start with our most basic implementation, which captures application events (starts, foregrounds, backgrounds) with no additional coding. With a little more work, you can insert calls to Webtrends event collection methods that allow you to track any event at any level of granularity.
Are you new to Webtrends?
//Begin Webtrends initialization using Config XML code WebtrendsConfigurator.LoadConfigFile("com.webtrends.samples.helloworld.view.MyScreen", "webtrends.xml"); WebtrendsDataCollector.getInstance().Initialize(); //End Webtrends initialization using Config XML codeIn the example, MyScreen is the name of a class in the helloworld application package. If there are several classes in a package, any one class is OK. The class serves as a point of reference for finding the XML config file, so the actual class name is irrelevant.