Page 2 of 3

camera not accessible from Android 5.0

Posted: Sat Jan 30, 2016 3:11 am
by Alena Prykhodko

Hello Eric,

Sorry for delay.

[quote:]a/ could you be clearer on what you could replicate on your side ?
. is it the camera that does work ? or not consistently ?
. is it about the cropper:
. image to wide ?
. touch not responding ?[/quote]

Camera works, we are able to take the picture, touch does not respond, crop function works.

[quote:]b/ one more question, this function camera + code were used to work perfect under 4.2 and 4.4, isn't it Appery's job to keep itself uptodate in order to work same way on higher version like 5.0 onward ?[/quote]

As you use external library this is not Appery.io related issue, this library may not support higher versions. Anyway this needs research, which falls outside the scope of standard support as includes custom code.

Let me know if I can be of any assistance.


camera not accessible from Android 5.0

Posted: Sat Jan 30, 2016 3:52 am
by EJLD

Hi Alena, thk you for your reply.
. camera works: yes it does on my 2 upgraded devices. it didn't on my Alcatel 5.0 ??? I'll try on another one (Alcatel is not the most popular anyway :) )
. external librairy: Understand you point about the library and scope of responsability. clear to me. in fact, originally I bought that code. I changed it a lot to adapt it to the appery environment. however, the base remained same. what is the library you are worried about ?
. in my questions there was also a point about the imported image size from the camera to the cropper's container. this image is now too wide, would you know where does that issue come from ?
I am not asking for solutions but just for direction, for me to understand how big is the job.
thk you for taking time to answer again,
enjoy your weekend,
Eric


camera not accessible from Android 5.0

Posted: Tue Feb 02, 2016 7:11 pm
by EJLD

Hi there Alena,
I give up with that cropper's code I bought. I'll made my own.
I hv made something good using mousedown, mousemove and mouseup to move around the canvas on which I'll print the img to crop.
however, when using the equiv I found for touch event such as
touchstart
touchmove
touchend
the canvas doesn't respond.
can an appery app respond to those events ?
sorry for my beginner questions but must to move forward :)


camera not accessible from Android 5.0

Posted: Wed Feb 03, 2016 9:57 pm
by EJLD

Hi there, just to say that I found a way to solve the issue.
still it doesn't respond to touch event but used an other way instead.
thks for your advice


camera not accessible from Android 5.0

Posted: Mon Feb 08, 2016 9:33 pm
by Serhii Kulibaba

Thank you for update! Glad it works now!


camera not accessible from Android 5.0

Posted: Fri Feb 26, 2016 2:45 pm
by EJLD

don't know if anybody has encountered same issue with touchScreen on Android.
. 4.x = worked well
. upgraded from 4.x to 5.0 = doesn't work any longer
. 5.1 on Samsung = works as before
. 6.0 on motoG = doesn't work either :(

would anyone know something about touchScreen issue ?


camera not accessible from Android 5.0

Posted: Mon Feb 29, 2016 2:06 pm
by Serhii Kulibaba

Hello,

Could you clarify, what exactly doesn't work? All touch events, or something else?


camera not accessible from Android 5.0

Posted: Mon Feb 29, 2016 2:12 pm
by EJLD

simply what was discussed previously in above msgs with Alena. js touchScreen doesn't work under certain versions. wanted to know if anybody encountered that issue as well.


camera not accessible from Android 5.0

Posted: Tue Mar 01, 2016 10:46 am
by Serhii Kulibaba

I am not sure, what does touchScreen mean? It it name of the page in your app?


camera not accessible from Android 5.0

Posted: Tue Mar 01, 2016 1:56 pm
by EJLD

true, I shld hv been more precise. i m speaking about the JS events
touchStart, touchMove, touchEnd
it worked very good for the version 4.x of Android but since 5.0 depending on the device, it works or doesn't. and most likely doesn't even for 6.0.
wanted to know if anybody has experienced the same issue.
thks