java.lang.SecurityException: Permission Denial:...

java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.CALL dat=tel:xxxxxx cmp=com.android.phone/.OutgoingCallBroadcaster } from ProcessRecord{41260bb0 967:com.example.yaoapp3/10042} (pid=967, uid=10042) requires android.permission.CALL_PHONE

解决办法--------------》在AndroidManifest.xml文件中声明用户的(拨号)权限
</manifest>

......

  <uses-permission android:name="android.permission.CALL_PHONE"/>
 
</manifest>

你可能感兴趣的:(java.lang.SecurityException: Permission Denial:...)