I call Camera1.TakePicture
The phone Take a Picture.
I can not the click over the TICK.
Can I debug this event?
I call Camera1.TakePicture
The phone Take a Picture.
I can not the click over the TICK.
Can I debug this event?
Do any of the buttons work ?
all others work without this one.
Is this with companion or compiled app (does it happen with both?)
What is your device, and android version?
Please show your relevant blocks. (to include anything you are doing after the picture is taken)
This happen with both.
companion version 2.62u
Android version - 11
OxygenOS version - 111.2.2
Make the picture. And can not the click over the TICK.
When create simple APP all is OK.
When add same components in big project is appear this problem.
which is why I asked
What are you doing with the image after it is taken (or what blocks do you have) do you have any image or media extensions, or any changes to the file saving structures (e.g. not to the ASD)
This is extension listL
Thank you
What happens if you remove everything from the AfterPicture event block?
I remove all from AfterPicture event block.
The same.
Running out of ideas now...
All is OK in simple APP. when use same cod in big project is happened this.
This apps using same camera app/settings on OxygenOS.
DefaultFileScope = Legacy
Just for testing purposes, try changing this to App
Also try your small test app with Legacy...
I change DefaultFileScope from Legacy to App.
Now all is OK.
Thanks for your help!
Yes, but it should also work with DefaultFileScope = Legacy and return the same path as DefaultFileScope = Shared on Android 11+ :
file:///storage/emulated/0/Pictures/app_inventor_1646927285660.png
So this is another bug on top of the other (permissions) issues with DefaultFileScope.
So this is at best a workaround, but not a solution. And by the way it works with Android < 10 also with Legacy.
I try with DefaultFileScope = Legacy in Android version=10.
All working fine
Yes, because AI2 decided to declare requestLegacyExternalStorage=true
in the Manifest.
So it works still on Android 10 (Android < 11).
But on Android 11+ requestLegacyExternalStorage=true
is ignored. Therefore it doesn't work on Android 11+, but (as I said before) it should work there too.
Generally
to make a picture I must to setup DefaultFileScope = APP
to rotate picture with Taifunfile I must to setup DefaultFileScope = Legacy
Can a picture be taken and rotated?
TaifunImage
(?)