IDE: Eclipse
OS: Ubuntu 16.04
Simulator : iphone6.skin, ipad_os7.skin
Device: ipad mini (32 bit) ios 9, iphone se (64 bit) ios 10
Hi guys,
Capture.capturePhoto() stopped working for me on iOS even in simulator with
ios device skins.
In simulator capturePhoto() generates from given source image 1 pixel
picture with two dots in file name, e.g.:
ile:///tmp/temp8767158651086139521s..jpg (see attached)
In device I cannot capture the image at all (the camera opens, takes a
picture, hit "Use photo", and nothing more).
I tried to create image from returned file path, copy the file, ... but
nothing worked. The image does not exist after capture. Following code
String path = Capture.capturePhoto();
Log.p(path);
Log.p("Orig file exists: " + FileSystemStorage.getInstance().exists(path));
generates this log output
[EDT] 0:0:5,801 -
file:/var/mobile/Containers/Data/Application/79F67DF9-B321-4300-8B6C-897105EF5D4C/Documents/temp_images.jpg
[EDT] 0:0:5,807 - Orig file exists: false
I tried experiment with prefix: file://, file:///, without prefix ... but
nothing helped.
whats wrong with capturePhoto on iOS or my setup?
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/bfe552cb-072c-4d2c-9123-4f22685d3ec8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.