I got the answer to this. MediaScanner.java is under \android\mydroid \frameworks\base\media\java\android\media and its hidden to the user and is Used from MediaScannerService. Native calls like processDirectory,processFile,.. are used from MediaScanner.java
-Rishi Kaura On Feb 5, 4:17 pm, Rishi <kaurari...@gmail.com> wrote: > Hi, > > In the media store code of android, The file MediaScannerService has a > code : > > MediaScanner scanner = new MediaScanner(this); > scanner.scanDirectories(directories, volumeName); > > I am unable to figure out where is this function scanDirectories is > and what it does. > My intention here is to know how android fills in the content provider > from the sdcard data after bootup. > > -Rishi Kaura --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---