Accelerometer does not work from Canvas+ on Samsung Core2

Get help using Construct 2

Post » Wed Jun 08, 2016 6:16 am

Hello everyone!
Recently I compiled APK via cocoon.io
Everything was fine when tested the app on Samsung Note2.
Next I tested on Samsung Galaxy Core2 (SM-G355H android 4.4.2)
and found that on a device does not work accelerometer!
First I display the sensor information:
Touch.AccelerationYWithG
Touch.AccelerationXWithG
Touch.AccelerationY
Touch.AccelerationX
Touch.Alpha
Touch.Beta
Touch.Gamma
Indicators on zero.
I tried to compile using cocoon.io with parameter Webview +

Touch.AccelerationYWithG Touch.AccelerationXWithG and repaired, but Touch.AccelerationY and Touch.AccelerationX remained on zero.
Unfortunately I can not use Webview + , because affect performance and do not work some third-party plug-ins, so please advice on how to make it work the accelerometer? So I need advice, what to do to run the accelerometer?

On both devices installed android (4.4.2), but on the Galaxy Note2 accelerometer works well on Galaxy Core2 - no.
I guess cordova not have access to the sensors from Canvas+
B
7
S
2
Posts: 3
Reputation: 531

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Pandy, volumetv and 43 guests