Hi all,

I'm currently working on a demo project and I'm about to try it out with
some users. I'd like to automatically record the way they use the
application, their navigation route, times spent in each section and
duration using the application in general etc. I was wondering if there are
any solutions for this already available and if not how would you go about
achieving such a goal?

My initial thought is that I could augment all of my UI click listeners with
a call to a custom logger class which could write the time and the element,
opening the file for writing in onStart, onResume and closing it in onStop
for the activity.

This doesn't need to be bullet proof, I'm just gathering data to improve the
UI. That being said, I'm sure developing a unified solution would help a lot
of people learn more about how their users interact with their apps and I'm
happy to do the leg work I was just hoping for some advice regarding the
approach to use.

I found this in the google internal code;

UsageStatsService<http://www.google.co.in/codesearch/p?hl=en#uX1GffpyOZk/services/java/com/android/server/am/UsageStatsService.java&q=android%20package:git://android.git.kernel.org%20UsageStats&l=17>

Which is slightly different to what I need but made me think that perhaps a
background service would be the best option, it could presumably then be
turned on and off and therefore not be used in the deployed version. This
would remove the issue of overhead.

I'm just thinking out loud, feel free to do the same :)

Gav

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to