21 March, 2011

WP7: Usage logging of application using Flurry

Not having to write this framework myself, I’m happy to learn that some guys have been busy establishing a nice business that addresses usage logging, error logging and general usage monitoring of your Windows Phone Application. Something that Microsoft did not provide out of the box to the developer experience. And it’s darn easy to use as well. Good work, guys!

Might I add, that Flurry.com supports (BlackBerry, iPhone, Android, Windows Phone 7); so they got them all covered.

image

 

How do you use this stuff?
1) Signup for a new account => you receive an application key to uniquely identity your application
2) Download their API (single assembly) from their website
3) Insert FlurryWP7SDK.Api.StartSession(<sessionKey>) in Activated/Launching events (see below)
4) That’s it!

// Code to execute when the application is launching (eg, from Start)
// This code will not execute when the application is reactivated
void Application_Launching(object sender, LaunchingEventArgs e)
{
//register dispatcher class (Galasoft)
DispatcherHelper.Initialize();

//init data
PortfolioManager.InitializeDataStorage();
IsolatedStorageHelper.ClearRuntime();



//UNDONE: register channel with PUSH-notification service

//flyrry
StartFlurrySession();

}

private void StartFlurrySession()
{
//Api.StartSession(Constants.FLURRY_KEY);
FlurryWP7SDK.Api.SetVersion(Utilities.GetVersion());
FlurryWP7SDK.Api.StartSession(Constants.FLURRY_KEY);
}

That’s basically all there is to it! You can access data afterwards on their reporting website.


Technorati Tags:

6 comments:

The India said...

iso 27001 certification services
iso 27001 certification in delhi
ISO 9001 Certification in Noida
iso 22000 certification in Delhi

The India said...

iso certification in noida
iso certification in delhi
ce certification in delhi
iso 14001 certification in delhi
iso 22000 certification cost
iso consultants in noida

The India said...

we have provide the best fridge repair service.
Washing Machine Repair In Faridabad
LG Washing Machine Repair In Faridabad
Videocon Washing Machine Service Centre In Faridabad
IFB Washing Machine service centre in faridabad
Samsung Washing Machine Repair In Faridabad
Washing Machine Repair in Noida
godrej washing machine repair in noida
whirlpool Washing Machine Repair in Noida
IFB washing Machine Repair in Noida
LG Washing Machine Repair in Noida

The India said...

we have provide the best ppc service.
ppc company in gurgaon
website designing company in Gurgaon
PPC company in Noida
seo company in gurgaon
PPC company in Mumbai
PPC company in Chandigarh
Digital Marketing Company

The India said...

Rice Bags Manufacturers
Pouch Manufacturers
wall putty bag manufacturers
fertilizer bag manufacturers
seed bag manufacturers
gusseted bag manufacturers
bopp laminated bags manufacturer
Lyrics with music

Mobile app development company in Mumbai said...

Thank you so much for this amazing information sharing with us. Visit Appslure WebSolution for the best mobile app development company in Gurgaon
Mobile app development company in gurgaon

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...