Issue
I need to broadcast an intent from native c++ code. I am doing
system("am broadcast -a com.example.intentreceiver.receiveIntent")
The output is
Broadcasting: Intent
{ act=com.example.intentreceiver.recieveIntent }
but the broadcast is not successful.
PS-instead of am command, mkdir or mv command works perfectly.
Solution
Finally worked on other device running android 4.1.2. I was trying on android 5 lollipop and did not work.
update: it was a false positive. Finally after examining logs, I made the following changes in manifest and it worked.
android:isolatedProcess="false"
Answered By - Pankaj Goyal
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.