How to add a download counter (number of downloads) in android ? : I am building an application where user can download a wallpaper or save it to desktop directly, what i want to do now is to add a download counter or number of downloads in a Textview for each image that user downloads (number of times the image is downloaded) which will be displayed on the image. I am not sure how to do it, i am guessing i can use google analytics, but is there any way to do it without using any library or service ?