Android : Get recently added media in Android Device similarly to File Manager
I am working on an application in which I have to notify user as soon as a new image, video, audio or apk is inserted by the user by any means (whether he downloads it or transfer it),similar to what File Manager application do.I don't know where to start from. Thanks Here is my complete code to notify user when a new media (image, audio or video) is added into the device. It might help someone.Also, I am displaying push notifications as soon as new media is added. EDITED (issues resolved are below) 1.Notify user only when media is added,not deleted. public class MediaTrackerService extends