Accelerometer does not work from Canvas+ on Samsung Core2

0 favourites
  • 1 posts
From the Asset Store
Pixel Destruction like in "Worms" (Drawing Canvas based)
  • 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+

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)