Uri outurl=??? ? Uri. Parse (tried public, not private file)
Intent intent1=new Intent (com. Android. Camera. The action. "CROP");
Intent1. SetDataAndType (furl, "image/*");
Intent1. PutExtra (" crop ", "true");
Intent1. PutExtra (MediaStore. EXTRA_OUTPUT outurl);//
Intent1. PutExtra (" aspectX ", 1);
Intent1. PutExtra (" aspectY ", 1);
Intent1. PutExtra (" outputFormat ", Bitmap.Com pressFormat. JPEG);
Intent1. PutExtra (" outputX ", 720);
Intent1. PutExtra (" outputY ", 720);
Intent1. PutExtra (" return - data ", false);
StartActivityForResult (, 0 x222 intent1);
The new version of the android 11 shear system, called motionless, & gt;=10, android is normal, change with android 11, fail, feasible source
Cut in scour, no suitable scheme
CodePudding user response:
The building Lord you didn't find the right solution,,,, recently ran into this pit project adaptation, seek guidance ah,,,,