1

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.

owe
  • 4,890
  • 7
  • 36
  • 47
user2914699
  • 265
  • 1
  • 3
  • 7

1 Answers1

1
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.

Source: https://stackoverflow.com/a/21469533/1683141

Community
  • 1
  • 1
rajshree
  • 790
  • 5
  • 19