Flurry and AppWidgets

by Jake Colman » Thu, 08 Jul 2010 04:49:32 GMT


Sponsored Links
 I am familiar with using Flurry with Activities and calling
FlurryAgent.onStartSession() in the activity's onStart() method and
calling FlurryAgent.onEndSession in the activity's onStop() method.
What would be the best way to do the same thing if I want to use Flurry
with my appwidget?  Should I use the onEnabled()/onDisabled() methods or
should I use onUpdate() since the user may never delete my appwidget and
I won't know he's still using it?  Or maybe onUpdate() and onDisabled()
but then I won't be matching my start/end sessions.  If my appwidget has
a configuration activity or some other displayed activity I can
obviously use flurry there.  But how about in the appwidget itself?

-- 
Jake Colman -- Android Tinkerer

--



Flurry and AppWidgets

by whitemice » Fri, 16 Jul 2010 16:36:12 GMT


 Hi Jake
Assuming you are talking about Android Home Screen Widgets, I had the
same issue which I blogged here:
 http://blog.zedray.com/2010/05/01/tracking-a-android-home-screen-widget/ 

I still haven't gotten a response from Flurry, so I suggest you
consider the Google Analytics API.  While this offers fewer features
relevant for application developers, it does provide a dispatch()
method which allows you to manually workaround the widget life cycle
issue.  Let me know how this works for you.

Regards
Mark





--


Sponsored Links


Flurry and AppWidgets

by Jake Colman » Fri, 16 Jul 2010 20:46:30 GMT


 Mark,

Your blog postings hit the nail directly on the head!  I guess I'll do
as you suggest and see what Google Analytics can do for me.

Thanks.

...Jake



   w> Hi Jake

   w> Assuming you are talking about Android Home Screen Widgets, I had
   w> the same issue which I blogged here:
   w>  http://blog.zedray.com/2010/05/01/tracking-a-android-home-screen-widget/ 

   w> I still haven't gotten a response from Flurry, so I suggest you
   w> consider the Google Analytics API.  While this offers fewer
   w> features relevant for application developers, it does provide a
   w> dispatch() method which allows you to manually workaround the
   w> widget life cycle issue.  Let me know how this works for you.

   w> Regards
   w> Mark




   >> I am familiar with using Flurry with Activities and calling
   >> FlurryAgent.onStartSession() in the activity's onStart() method
   >> and calling FlurryAgent.onEndSession in the activity's onStop()
   >> method.  What would be the best way to do the same thing if I want
   >> to use Flurry with my appwidget? Should I use the
   >> onEnabled()/onDisabled() methods or should I use onUpdate() since
   >> the user may never delete my appwidget and I won't know he's still
   >> using it? Or maybe onUpdate() and onDisabled() but then I won't
   >> be matching my start/end sessions. If my appwidget has a
   >> configuration activity or some other displayed activity I can
   >> obviously use flurry there. But how about in the appwidget
   >> itself?
   >> 
   >> --
   >> Jake Colman -- Android Tinkerer

   w> -- 
   w>



Flurry and AppWidgets

by Jake Colman » Fri, 16 Jul 2010 20:50:15 GMT


 Mark,

So you call dispatch() from a service upon every call to onUpdate?

...Jake



   w> Hi Jake

   w> Assuming you are talking about Android Home Screen Widgets, I had
   w> the same issue which I blogged here:
   w>  http://blog.zedray.com/2010/05/01/tracking-a-android-home-screen-widget/ 

   w> I still haven't gotten a response from Flurry, so I suggest you
   w> consider the Google Analytics API.  While this offers fewer
   w> features relevant for application developers, it does provide a
   w> dispatch() method which allows you to manually workaround the
   w> widget life cycle issue.  Let me know how this works for you.

   w> Regards
   w> Mark


-- 
Jake Colman -- Android Tinkerer

--



Flurry and AppWidgets

by whitemice » Mon, 19 Jul 2010 17:05:41 GMT


 No, that would be crazy.
I have written a throttling algorithm that progressively reduces the
update frequency over time, since the last upgrade.

Regards
Mark





--



Other Threads

1. ask - harga defy

sekarang berapaan ya?
sepertinya perlu yang model ginian deh.
berniat lego O1 :)

-- 
i decided to be, and therefore i am
Y! | gTalk | Twitter | facebook : budizainer
http://budizainer.wordpress.com/

-- 
===============

2. FU Tsel flash berubah?

Ada info kalau FU tsel flash unlimited berubah per April ini,
Basic FU jadi 1,5GB
Advance FU jadi 3GB
Pro FU jadi 6GB
Ada yang sudah cek ke 3636 ketik UL INFO ?

-- 
===============

3. Still having issues.

4. Httposter could not be resolved

5. how to make timetable in android.

6. Facade Support

7. Fade in animation is not getting displayed?