My application on other version it work fine but on KitKat
my applicatin crash on calling time give me error: securityexception permission denial not allowed to send broadcast
.
Please tell me how can resolve this error.
My application on other version it work fine but on KitKat
my applicatin crash on calling time give me error: securityexception permission denial not allowed to send broadcast
.
Please tell me how can resolve this error.
How to fix this issue for KITKAT?
That code has never been appropriate. Fortunately, Android is (finally) taking steps to prevent apps from spoofing more system broadcasts like this.
If you want to tell Android to index a file you put on external storage, either use MediaScannerConnection or ACTION_MEDIA_SCANNER_SCAN_FILE.