通过C去调用am发送广播无效- -,popen和system都无效,哪路大神求救
http://blog.csdn.net/singwhatiwanna/article/details/9066513
加上--user 0
char broadcastIntent[100] = { 0 };
sprintf( broadcastIntent, "am broadcast -a com.tech.test --es state \"Hello\" --ei value %d --user \'0\'", 1);
int ret = system(broadcastIntent);