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. Tmobile G1 update

I received an update just now on my G1 phone. I tapped ok. It took
about 3mins or less to upload and do whatever it was doing. After my
phone restarted, I noticed something different on the background
screen. The wallpaper usually never shows when the phone is locked and
the icon on the screen disappeared. However, when I unlock my phone
the icons appeared. I went to the menu and noticed a few added icons
and a change in background. Changes such as: a camcorder, google talk,
and the icons on the screen can no longer be seen when I pulled up the
drop menu with the arrow. Also with the messaging, IM, GMail, and the
contacts (added photos within call log menu). Everythings about the
same just different in a noticeable way. I which they would add voice
to the gps system that's about my only issue with that particular
application (Maps).

--~--~---------~--~----~------------~-------~--~----~

2. Playing MediaPlayer on android 1.5 SDK

Hi,
I am able to play media files successfully on 1.1 SDK using
mediaplayer_video code of APIDemos. However, the same code failes at
mediaplayer.prepare(); method.

Can anybody give me how to get rid of this problem? Many code samples
I tried from this forum but I coudn;t succeed with any on 1.5.

It would be great if some can put snippet of working code of video
mediaplayer here or mail to my id: chiragpa...@gmail.com

Thanks,
Aahna

--~--~---------~--~----~------------~-------~--~----~

3. Multiple SMS text messages don't show up in the history of each individual recipient

4. Localizing date using SimpleDateFormat

5. how to play audio and video files in android with simple example explaination

6. Bluetooth + rSAP car kit

7. Using SensorEventListener