But in both extension versions, the Rear and Front camera is mismatched, If I set camera type to Rear, it opens Front camera and vice versa
Which is strange since I did not change anything from the original extension, I just added the base64 functionality. Or do you mean taking images to base64 works (only?)
I faced the same issue a while ago (see post #129).
Last night some issue with ASD i setup while testing,
now tested and works fine now both versions.
Is this extension still works?
I don't have any result. Can you tell me which part of the code has an error?
Remove the Move block and the Clock Timer event and use the Gallery Refresh method together with an absolute path to the file, /storage/emulated/0/Pictures/jlo.jpg
Taifun
Is there any possibility to change the camera resolution? i would like to shoot in better quality?
Edit: maybe for clarify -> i use TakePicture and not TakePicturePreview. Maybe your app thinks it uses the best resoulution (its 3968x2976) because (i dont know why) in other kamera apps this is the resolution on the first place and gets lower and lower, but if i scroll till the end (in other apps) my highest resolution appears 8000x6000. Maybe your app chooses the first entry because on other devices this is the highest?
anyway, it there a way to set it?
I try combining your 3d model with this ext with layout ontop of this camera ext but the app always crashed.(compiled.apk)
Tried only with camera ext result still the same the compiled apk crashed...
And i tried with the test.aia from @SHUBHAMR69 it works perfectly
My phone is oppo A15...
Note:
Both test.aia and newly updated working fine on companion
Is it possible to get list of available cameras? I see that the initialize
block takes in cameraType
, but the desicription says front-camera
or rear-camera
. My device will also have a USB camera attached, and I'd like to find a way to get a list of available cameras, and choose a camera other than front/rear camera. Any hints? Thanks!
Seems that with this extension, apart from the actual device cameras (front and rear) no other cameras are available...
Did you test it with external camera??
I have plans todo so, if it cant i wont buy external camera
Hi,
why with Android <10, the photo is saved in Pictures, while with Android => 10, despite the path change, it doesn't save it?
Why did you change the path for Android < 11? The path file:/mnt/sdcard/Pictures/
does not exist.
The correct path should be a full path:
- file:///storage/emulated/0/Pictures/myPic.jpg
- file:///sdcard/Pictures/myPic.jpg
- file:///mnt/sdcard/Pictures/myPic.jpg (may not work with some components and extensions)
or an absolute path:
- /storage/emulated/0/Pictures/myPic.jpg
- /sdcard/Pictures/myPic.jpg
- /mnt/sdcard/Pictures/myPic.jpg (may not work with some components and extensions)
See also here: Some basics on Android storage system
Could you add a block that returns bytes[
] from the camera as an Object? And the height and width of the returned image?
Hey @Kumaraswamy , I'm confused, is this a paid or free extension? If free where can I find the compiled .aix file?
Thank you very much!
Look towards the bottom of the first post in this topic, a direct download link is there.
Also see here for a forked version of the extension:
is it possible to add a option to rotate and flip/mirror the preview and saved image file
Currently no, there will be updates in the coming months.