Introducing the BlackBerry Analytics SDK

News

BlackBerry Analytics SDK

Whether it’s version 2.0 or taking a beta into production, when the time comes to revise your application, how do you decide what to spend your time on? Perhaps you’ve got a laundry list of feature requests or ideas that never made it into the previous version. Of course you want to get it all in, but time is always limited so priorities have to be set.

What can you change that will retain your current user base and drive new users to your application? Analytics can give you insight into what keeps users coming back and what might be causing them frustration. Capturing and aggregating information about application usage is what analytics is all about, and with the beta release of the BlackBerry® Analytics SDK, it is surprisingly simple to get good information to help answer those questions.

Some very good information can be tracked such as the number of times the application opens, closes, the number of screen views, carriers, device models as well as usage time. This can be provided automatically simply by extending from a custom UiApplication class:

public class NetworkDiagnostic extends WebtrendsUiApplication {

    public static void main(String[] args) {

	// Begin Webtrends initialization using Config XML code
		WebtrendsConfigurator.LoadConfigFile("rimx.network.diagnostic.NetworkDiagnostic", "webtrends.xml");
		WebtrendsDataCollector.getInstance().Initialize();
		// End Webtrends initialization using Config XML code

Many other events in your application can be captured as well (including custom events), and there are built-in reports for Media playback, Product Views and more. Once configured, data will be captured automatically and aggregated in the dashboard view or reports. It can also be exported to CSV or Web Service.

BlackBerry Analytics SDK

I’m sure you’ll want to get started right away, so check here for the documentation and to download the beta release of the BlackBerry Analytics SDK.

About Tim W.

Tim works on the Developer Relations team at BlackBerry, focusing on WebWorks, HTML5, and Open Source.

Join the conversation

Show comments Hide comments
+ -
blog comments powered by Disqus