You basically have to do everything yourself.
A. Use date time to capture the time the person opens an activity and when the person taps a button that will goto difgeredi activity, use that to capture the exit time
B. Assign tags or identifiable ID to the views on each activity and capture the amount of time it's clicked
C,D,E also follows same procedure.
F. Look at crashlytics lib
After every everything, you have to use the okhttputils lib to send the information to your server or firebase