Souki's Recent Forum Activity

  • up

  • Ok, thanks im gonna search it.

    About this plugin, work with XDK or i need use it CocoonJS ?

    >

    > > And, another Question, about run an app in background, im making a podometer, but when the app is minimizing or block the phone, the app is in Pause.

    > >

    > > Any help about this !?

    > >

    >

    > any idea about this !?

    >

    you can fix with the support for cordova plug-ins if you read this thread from start you can found a message related to make control of the state of the android when the application not are in first plane

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • And, another Question, about run an app in background, im making a podometer, but when the app is minimizing or block the phone, the app is in Pause.

    Any help about this !?

    any idea about this !?

  • up

    Help, please

  • And, another Question, about run an app in background, im making a podometer, but when the app is minimizing or block the phone, the app is in Pause.

    Any help about this !?

  • Oh, thanks for the help (: !!

    > Nope, nothings with Touch.xxx

    > but, work with emulated.

    >

    >

    Do you mean the "emulated gyroscope" values? They're working on your phone?

    If so to obtain your device inclination try to use those expressions:

    alpha = atan (touch.AccelerationXWithG / sqrt(touch.AccelerationYWithG*touch.AccelerationYWithG +touch.AccelerationZWithG*touch.AccelerationZWithG))

    beta = atan (touch.AccelerationYWithG / sqrt(touch.AccelerationXWithG*touch.AccelerationXWithG +touch.AccelerationZWithG*touch.AccelerationZWithG))

    gamma = atan (-touch.accelerationXWithG/touch.AccelerationZWithG)

  • up

  • Nope, nothings with Touch.xxx

    but, work with emulated.

    well, for now i can use it ludei for compilate the apk, and work fine... but i like it XDK much more.

    > Yes the orientation to beta alpha and gamma...

    >

    > i tried on Chrome for Android, and nothing, don't work, some solution or something, maybe fix it with cordova for android idk !

    >

    >

    Hi Souki

    Try to check with chrome this little app: http://testkg.altervista.org/tacc/

    If you can see the second pair of values working your phone is simply missing gyroscope and you cannot use touch.alpha/beta/gamma to retrieve the device inclination. You'll have to use touchaccelerationwithG values and some trigonometry to retrieve it with the accelerometer.

    If you can't see anything working there's probably something wrong between your phone sensors readings and chromium.

  • Hi, i need help, when my app is running and the app is minimized or block the phone, the app is paused, and i want the app continue running...

    I search a lot on this forum, internet, etc. And i can't found the solution....

    Please Help.

  • Yes the orientation to beta alpha and gamma...

    i tried on Chrome for Android, and nothing, don't work, some solution or something, maybe fix it with cordova for android idk !

    So the problem you meet is, the touch/device orientation can not work on the real device, but it works on the emulator, right? If so, could you please double-check if the device orientation sensor works in Chrome for Android?

    > Hello, i tried to use Touch Orientation and i can't do it work when i use CROSSWALK on XDK, but in the emulator (of XDK) run it well.

    >

    >

  • Hello, i tried to use Touch Orientation and i can't do it work when i use CROSSWALK on XDK, but in the emulator (of XDK) run it well.

    This is my event sheet

    http://puu.sh/amlZE/2b76cfab5f.png

    in the emulator the text of BETA ALPHA and GAMMA change and show the orientation, but when i use CROSSWALK, stay in 0.

    this is my layout

    http://puu.sh/ammbF/8d04df1d09.png

    Sorry for my poor english.

    ***************************************************************

    UPDATE:

    I did it with Cordova for Andorid on Intel XDK, but i can't configure the icon of the app, and the screen was cut off a little from the left and right side.

    But i can't do it work on Crosswalk for android.

  • With Cordova for Android in Tablet appear 2 screens of the same layout and is more slow. So i need it use CrossWalk but i need some help

Souki's avatar

Souki

Member since 8 Sep, 2012

None one is following Souki yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies