Screenshot from the App 2 Screenshot directly from android file explorer 2 看起来我没有足够的权限-但是除了Android Q,Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE)
在我的测试手机上,我收到消息“没有应用程序可以执行此操作”,但在平板电脑上,它工作正常。我的测试手机是android版本4.2.2,我的平板电脑是android版本4.4.4。这是我的代码。Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE: E/AndroidRuntime(10739): at android.app.Activity.startActivityForResult(Activi