A
A
Alex010062016-10-27 23:24:47
Java
Alex01006, 2016-10-27 23:24:47

How to get application data?

Hello, I wanted to ask what material is there on how to get information about applications (for example, FB) from my application? I am a beginner and for practice I decided to write an application that displays statistics, for example, the time of using applications installed on the user's phone.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-10-28
@Rou1997

Develop the right mindset.
Is there such ready-made statistics in Android, do you see it there? If there is, look for the API.
If not, implement an algorithm, in this case it is a timer that, say, every 5 seconds checks whether the specified application is running , and saves this data, for example, to a .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question