Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

camera not accessible from Android 5.0

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.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

camera not accessible from Android 5.0

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

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

camera not accessible from Android 5.0

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 :)

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

camera not accessible from Android 5.0

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

camera not accessible from Android 5.0

Thank you for update! Glad it works now!

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

camera not accessible from Android 5.0

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 ?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

camera not accessible from Android 5.0

Hello,

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

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

camera not accessible from Android 5.0

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

camera not accessible from Android 5.0

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

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

camera not accessible from Android 5.0

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

Return to “Issues”