The below code shows me that the MediaScanner has started on the sdcard, after it ejects why? and what is happening?
if(intent.getDataString().equals("file:///mnt/extsd"))
{
if(Intent.ACTION_MEDIA_SCANNER_STARTED.equals(intent.getAction()))
{
//Media scanner is started
}
else if(Intent.ACTION_MEDIA_SCANNER_FINISHED.equals(intent.getAction()))
{
}
}