How to count number of click perform all the android apps?
I try on all click listener to increment click count and save to share-preferance,
But it to lengthy and time consume
Any one have idea to easy way to track button click event?
You can create a class that extends Application. Create a static counter there and update the counter in every click listener of your app. Further you can save this counter in shared preference in your Application class' onStop method and get it in onStart method.