Source code source: https://blog.csdn.net/TTCCAAA/article/details/45752739
I met the problem:
But the resultCode is returning from the album - 1 bitmap hasn't been successful decoding, all empty,
If is photographed the resultcode returns 0
Source code is in the link, the same,
CodePudding user response:
Figure is a photo album when picking pictures jump cut scene
Figure 2 is taking photos camera jump back to the scene
CodePudding user response:
Behind the Android file access way changed, you see is not long before the code
CodePudding user response:
refer to the second floor assky124 response: Android at the back of the file access mode changed, you see is not long before the code of How to change the code I put a link to the same CodePudding user response:
I saw the article was written in 15 years, the estimate is no adaptation of existing 6.0 7.0 8.0 mobile phones, specific how adaptation can refer to the https://blog.csdn.net/wufeng55/article/details/80918749 CodePudding user response:
Try this: 1. To add dynamic WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permissions 2. Then add the android application nodes within the listing file: requestLegacyExternalStorage="true" CodePudding user response:
202005021116 reference 7 floor response: try like this: 1. To add dynamic WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permissions 2. Then add the android application nodes within the listing file: requestLegacyExternalStorage="true" Add, all these other problems to solve on this before, but you can't solve the problem now CodePudding user response:
refer to 6th floor six weeks response: I saw the article was written in 15 years, the estimate is not adapted to existing 6.0 7.0 8.0 mobile phones, specific how adaptation can reference this article https://blog.csdn.net/wufeng55/article/details/80918749 Ok, I will go to the, thank you CodePudding user response:
Suggest you keep an eye on the latest Android 10 some changes, Android 10 above, the image path way and storage path and so on all had the very big change, if can't find relevant, consult me, I've recently adaptation of the latest Android 10 photos and stock selection to upload images, QQ: 916059145