I have a aplication in which i read the xml file that are stored in somewhere sdcard,then parse that xml and stored in database then my application work on that database.
But the sdcard is updated by client and insert new xml file,delete some old one.
so when any new file is added to the sdcard i want my service to start and parse it and save in database.
but how can i know that there is changes made in sdcard.myActivity class is :- SdcardActivity.java and service class is service class :- FileseacrchService.java
I have a aplication in which i read the xml file that are stored
Share
check registerContentObserver()