What's new in BlackBerry Analytics SDK 1.0

Oct 13, 2011
  • Performance enhancements:
  • The Analytics Service SDK has undergone a number of internal memory improvements which enhance the performance of the SDK. These changes reduce the risk of lags in application performance under conditions where high event rates are used.
  • New options for loading configuration data:
  • Instead of the config.xml file, you can now use the WebtrendsConfig class or the IWebtrendsConfig interface to load configuration data such as your dcsid. WebtrendsConfig is an abstract class with default values returned for all its methods (configuration parameters), while IWebtrendsConfig is an interface which defines all the configuration fields, but provides no data. Using WebtrendsConfig is recommended.
  • The WebtrendsConfigurator.LoadConfigFile() now accepts an instance of WebtrendsConfig, or an implementation of IWebtrendsConfig.
  • Case sensitivity for configuration settings:
  • the wt_dc_dcsid and wt_dc_url configuration settings are now case-insensitive.
  • New onScreenView() method:
  • The WebtrendsDataCollector.onScreenView() method tracks instances of a user viewing a screen in your application. It provides data to the Categories, Screens and App System Events reports in the Analytics Service web portal.
  • WebtrendsDataCollector.onContentView() has been deprecated in favor of onScreenView().
  • Report Enhancements:
  • Various improvements have been made to the reporting methods in the WebtrendsDataCollector class.
  • The following methods no longer count as a screen view -
  • onApplicationStart()
  • onApplicationTerminate()
  • onApplicationBackground()
  • onApplicationForeground()
  • onApplicationError()
  • onActivityStart()
  • onActivityPause()
  • onAdClick()
  • onAdImpression()
  • onMediaEvent()
  • These events are counted explicity by name in the App System Events report, but no longer increment the screen view metric. This change in definition is indented to provide a more realistic measure of a screen view.
  • These events are now counted explicity by name in the App System Events report. The following methods now emit, instead of "view", the following WT.sys values:
  • onApplicationStart() now emits a WT.sys value of "start"
  • onAdClick() now emits a WT.sys value of "adclick"
  • onAdImpression() now emits a WT.sys value of "adimpression"
  • onSearchEvent() now emits a WT.sys value of "search"
  • onProductView() now emits a WT.sys value of "view"
  • onMediaEvent now emits a WT.sys value of "media"
  • Sample Source Code:
  • Source code for a sample application that uses the Analytics Service SDK has been provided in the following directory -
  • Analytics_Sample_App