我已经在我的应用程序中实现了Dexter。它适用于 CAMERA、EXTERNAL STORAGE 和 INTERNAL STORAGE 权限。我想用 PHONE_CALL 权限与Dexter通话。当我像这样拨打电话的意图时:
Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + strNum));
startActivity(callIntent);
然后startActivity
显示警告Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with checkPermission) or explicitly handle a potential SecurityException less... (Ctrl+F1)
我不明白我已经实现了Dexter那么为什么startActivity
要自我许可呢?