I know many analytics tools are available online to track app's performance. But I am referring to personalised statistics.
I have an android app which lets users download question papers and various other files in pdf format. I would like to know total number of files downloaded to date. What I think:
- Host a file on my server with text "0"
- Create 2 AsyncTasks and call one to get the value in file.
- Store it in a variable as integer and increment it.
- Call 2nd asynctask and overwrite existing file's values by now stored variable.
I don't know if any easier way exists like Firebase? If yes, please give some details.