In one of my applications, I use the following code to call a phone:
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(...)); startActivity(intent);
The docs say that for this I need the following Manifest permission:
<uses-permission android:name="android.permission.CALL_PHONE" />
Is it really necessary? I do not understand the difference between the phone and the camera function. When using phone intent, I need permission, but I don't need permission for camera intent:
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); ... startActivityForResult(intent, 1);
Is there a list of hardware functions that need permission if they are launched using intent, and those that do not?
android android-intent permissions
Harald wilhelm
source share