Questions about how to gather, manage or deal with data usage statistics of any software. Usage statistics may include button and menus clicks, memory usage, preferences, features most used, etc... Usually all data are anonymous information.
Questions tagged [usage-statistics]
382 questions
6
votes
1 answer
Use Google Analytics for data to display on our webpage?
On some of our pages, we display some statistics like number of times that page has been viewed today, number of times it's been viewed the past week, etc. Additionally, we have an overall statistics page where we list the pages, in order, that…

at.
- 50,922
- 104
- 292
- 461
6
votes
1 answer
Android — How to track bandwidth usage by application or process?
I can track the overall bandwidth usage of Android device. I wanted to know if there is any method or way, maybe an API or class, that can help me track my bandwidth usage per application or process?
Reason for this question? I want to stop all…

Muhammad Shahab
- 4,187
- 4
- 34
- 44
6
votes
1 answer
Android get UsageStatsManager in API level 21
I need to get info about recent apps usage.
Before API 21 it was used getRunningTasks or getRecentTasks to get this info. These methods were deprecated in API 21 according docs.
There is UsageStatsManager class now, introduced in API level 21.
But!…

Goltsev Eugene
- 3,325
- 6
- 25
- 48
6
votes
2 answers
Should I ask for permission before sending anonymous usage information?
I want our application to send some anonymous information (OS, Java version, etc.) to a server on the first startup. The only usage of this is to determine how many copies are being used, and to know what OSes are used most by our customers, so we…

Kees Kist
- 2,641
- 5
- 20
- 25
6
votes
6 answers
Getting a grasp of how many people use my software
We have a very small, specialized user base.
No community.
My boss wants to find out who is using it. And his approach is to simply make a hidden connection, maybe an auto update function, enabled by default WITHOUT notification when there is no…

Ronny Brendel
- 4,777
- 5
- 35
- 55
6
votes
3 answers
Is there a tool to gather Win32 application usage statistics?
Is there any tool that can do this? Just like a website and for the same basic reasons?
UPDATE ---
I mean collecting statistics info about an application that I am writing
I need to know what options are used most, when, times, etc.

Jlouro
- 4,515
- 9
- 60
- 91
5
votes
1 answer
Android: Get Time Spent Per Activity
Firstly, I'm not looking for time spent on a given application. There is already "an app for that", com.android.settings/.UsageStats, and a good deal of supporting code in the AOSP…

Jameson
- 6,400
- 6
- 32
- 53
5
votes
1 answer
How can my program collect anonymous usage data about itself?
Some software has the option to collect anonymous usage data. How does that work? How is it collected and sent? I'd like to write a small test to try this myself, but I'm not sure where to begin.

DRokie
- 705
- 2
- 9
- 20
5
votes
0 answers
Getting CPU usage of a specific process on iOS4
I am trying to get CPU usage of various processes (cpu ticks) from a background application running on iOS4 using Apple SDK. This is done completely with users' consents so there is nothing unethical here.
I have used sysctl to get process list but…

MANDAR
- 71
- 4
5
votes
2 answers
Is there a way to report custom DataDog metrics from AWS Lambda?
I'm looking to report custom metrics from Lambda functions to Datadog. I need things like counters, gauges, histograms.
Datadog documentation outlines two options for reporting metrics from AWS Lambda:
print a line into the log
use the API
The…

Vladimir Li
- 141
- 2
- 7
5
votes
2 answers
How to get how long an activity is active in foreground on Android
How to get the amount of time an activity was in foreground in Android. For Ex. If WhatsApp was used 1 hour today, how to get that WhatsApp was active for one hour, programmatically.

Aneez
- 253
- 2
- 12
5
votes
1 answer
Find all PEAR packages needed in project (source code)
I have come across an issue for which I need a list of all PEAR packages which are needed (=used) in my project.
Is there a tool which can get me a list of all PEAR packages used in my source code, by simply reading the code?
Read all the packages…

Asped
- 3,083
- 4
- 31
- 52
5
votes
5 answers
How to get application usage statistics on android?
What I want is to access the time (in milliseconds) that each application is used.
Thanks

jlopes
- 1,012
- 2
- 11
- 18
5
votes
3 answers
Monitor Usage Statistic-- How it is done?
Windows, Firefox or Google Chrome all monitor usage statistics and analyze the crash reports are sent to them. I am thinking of implementing the same feature into my application.
Of course it's easy to litter an application with a lot of logging…

Graviton
- 81,782
- 146
- 424
- 602
5
votes
3 answers
ActivityNotFoundException in Lollipop when trying to launch activity with intent android.settings.USAGE_ACCESS_SETTINGS
I am trying to get the permission to access app usage data using this permission. THis is only being done for Lollipop and when I start activity with this intent (android.settings.USAGE_ACCESS_SETTINGS), the app crashes (stacktrace below)
Observed…

user1406716
- 9,565
- 22
- 96
- 151