grigrizljac's Forum Posts

  • Ashley any updates on this? Will C2 ever bring support for changing .exe icon? Or will we forever have to do it with 3rd-party programs?

  • > I have added the plugin to Intel XDK, but the screen still turns off ... (Android)

    >

    Try to install this plugin in Intel XDK instead.

    https://github.com/simplec-dev/powermanagement

    Cranberrygame has updated the plugin from phonegap to cordova and the cordova version is using the new github link, but the phonegap plugin the old one.

    Regards

    It works now (at least on Android, I still have to test for iOS ...), thank you! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • I have added the plugin to Intel XDK, but the screen still turns off ... (Android)

  • Okay, scratch that last comment - I got it added just fine without an error.

    New problem... With the plugin now referenced through the link you provided, I pushed the project to the Testing Server in the Intel XDK Test tab. I then loaded the project via the Intel XDK mobile app and the same problem continues... The phone still goes into screenlock/sleep mode.

    As I'm aware, the Test tab (testing server) in Intel XDK doesn't support 3rd party plugins, you have to build the app and then test .apk file.

  • AndreasR - I put the Acquire action on the very first layout, triggered on Start of Layout event (in a sub-event checking for if it's on an Android or iOS mobile platform. I set my phone's screen timeout to 30 seconds, and even with the Acquire action in place, the phone still times out and goes to sleep.

    I have the same problem on Android (Cordova -> Intel XDK -> Crosswalk). I haven't tested on iOS yet.

  • > It seems everything works now. Thanks for help and replies.

    >

    Glad it worked out. What was the solution

    ?

    Actually, I haven't changed nothing (at least I don't remember anything). Probably I had a bug somewhere or something.

  • It seems everything works now. Thanks for help and replies.

  • I get the data from Local Storage, then call a function to decrypt it, and what is returned, I load into the Dictionary.

    With "Is empty" I want to check if the data was OK, not corrupted.

  • Here's my code:

    But if I do like this, it doesn't work (sometimes works, usually not):

  • Seems right ... But it sometimes happens that, if I have "Dictionary|Is empty" condition just after the "Load" action, it recognizes it as empty. Is it possible that it's because I'm calling function?

  • Hi.

    I'm working on a project where I load the dictionary from JSON.

    How can I know when the data from JSON is loaded into the dictionary? I use "function" to get data, and load from "function.call" (return value).

  • Ok, so a bit more about it.

    For iOS, I tried Adobe Phonegap Build (build.phonegap.com) at first. I thought I saw that it is recommended somewhere ... But maybe I'm wrong. So, I build with Intel XDK, and yes, I had some problems with certificates at first, too, but it's ok now. The main problem is still that I can't test on my phone before published to App Store. Also, it ignores Full Screen and Hide Status Bar preferences. I hope I'll be successful with those plugins to hide it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My experiences:

    I have successfully published to Android and iOS.

    Android: Crosswalk, Intel XDK. It's pretty simple to do that, except the file is too big.

    iOS: Intel XDK (Scirra prefers PhoneGap, which is great, it's simple, you can test the built app quickly - by scanning a QR code, it installs to your device. But: when I tried to publish it to App Store, I received some random errors, missing icons and files etc. That's why I'm building with Intel XDK.). This one is complicated. Full screen, for example, doesn't work, you have to include plugins (File and StatusBar to XDK). It's hard to add all icons (you can add the ones in the Icons dialog, but then you get a Codrova icon in Settings, Spotlight Search, App Switcher). I hope I'll success with the next version. The main problem for me here is, that I can't test the app until I submit it to App Store. I receive an error "App Name could not be installed at this time".

    I don't use any monetization at this time.

    Also, I've published to my website as HTML5, and this one is incredibly simple.

  • "Google Analytics for Crosswalk" and "Power Management (Keeps screen awake)" are mixed, they have opposite links.

  • I'm also looking for something to prevent the screen lock.