0 Favourites

C2 export for mobiles

  • Had to make another thread because the previous got closed...

    tagging people involved in our conversation cjbruce Jayjay Husui jance0405 Delenne Colludium

    So... Delenne ? You mentioned a way to wrap the HTML5 into a APK manually. The problem is - I am not a native coder. Is it possible for a non-programmer to use this method?

    Also - if anybody had a success with PhoneGap build or standalone - please tell us. After XDK will stop working - PhoneGap would be our next best shot. Sadly - there are no tuts or guides for non-programmers aka using C2 + PhoneGap

  • By Today Or Tomorrow I will make a guide for C2 + PhoneGap. So hopefully you could wait until then.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • By Today Or Tomorrow I will make a guide for C2 + PhoneGap. So hopefully you could wait until then.

    Wow. Really!?!?!?! Alajajm - I don't know what to say, really. Thank you! Thank you so much!

  • Just give cocoon.io a try. Its not gonna hurt you. Here's a complete guide on how to do it. As in complete from the beginning to google console dev setting up

    https://shatter-box.com/knowledgebase/cocoonio/

    He also make a tutorial on how to set up in iOS. I havent tried it yet cause i dont have ios device <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    ======================================================================================

    Offline intel-XDK (Crosswalk Build)

    Subscribe to Construct videos now
  • irbis

    No, there is no programming involved. The tools must be installed, and the export platforms chosen.

    The nice thing is that you will not need to rely on an external service.

    I will see if I can try this myself, and create a quick tutorial tomorrow.

  • Hey, I just built an APK with it! It works. It's pretty simple, but it takes time to install all the tools. I'll make that tutorial as soon as I can.

  • Hey, I just built an APK with it! It works. It's pretty simple, but it takes time to install all the tools. I'll make that tutorial as soon as I can.

    I don't mind a method as long as it works. One question, because thats a deal maker or breaker - is it possible to export APK with a working AdMob Ads? :I mean, I can sell the raw traffic or make a custom Ads but AdMob pays way better and that was one of the main points of my contract

  • I use Cocoon io too, very good performance, letterbox scale doesn't work so I use Scale outer and make my backgrounds bigger

  • My problem with PhoneGap do not recognize the íűáúőóüö characters.

  • I write too my experience may be help someone.

    Android:

    1. Add the plugins in intel xdk and use the cordova build package in Intel xdk

    2. Unzip this packet and copy all files to www folder, and overwrite the config.xml file

    3. Open config.xml file with wordpad, and change the text in these lines:

    <name>YOUR APP NAME</name>

    <description>YOUR APP DESCRIPTION</description>

    <author>YOUR AUTHOR NAME</author>

    4. Change phonegap version to 6.5.0 and save

    5. Zip the www folder and upload to phonegap.

    6. Download your android signature key from INTEL XDK and upload to Phonegap build.

    7. Create the apk file and upload to Google Plays

    iOS:

    1. Add the plugins in intel xdk and use the cordova build package in Intel xdk

    2. Unzip this packet and copy all files to www folder, and overwrite the config.xml file

    3. Open config.xml file with wordpad, and change the text in these lines:

    <name>YOUR APP NAME</name>

    <description>YOUR APP DESCRIPTION</description>

    <author>YOUR AUTHOR NAME</author>

    4. Change phonegap version to 6.5.0 and I need to add these line too:

    <gap:config-file platform="ios" parent="NSCalendarsUsageDescription" overwrite="true">

    <string>We are using the Calendar for something..</string>

    </gap:config-file>

    <gap:config-file platform="ios" parent="NSBluetoothPeripheralUsageDescription" overwrite="true">

    <string>We are using the for Bluetooth something..</string>

    </gap:config-file>

    (Because if I do not added thes lines then I get a error code if I upload to iTunes store.)

    If you need something else then just change in the line, and save.

    5. Zip the www folder and upload to phonegap.

    6. Download your iOS signature key from INTEL XDK and upload to Phonegap build.

    7. Create the ipa file and upload to iTunes.

  • Here is Phonegape tutorial: https://www.scirra.com/tutorials/9492/build-android-apps-with-phonegap

    Good Luck .....

    <3 <3 <3 <3 I'll try it out right after I'll get back from work. THANK YOU!

  • [quote:1iip31c3]If you have used the Intel XDK to build a Construct2 app... here are some instructions that will help you get started using PhoneGap Build.

    The key to PhoneGap Build is the config.xml file located in your project's root folder (the folder that also contains your www folder).

    Using the latest version of the Intel XDK, add some plugins and then use the "Cordova Build Package" feature (on the Build tab) to export a ZIP that is PhoneGap Build ready. Within that ZIP you'll find a config.xml file that works with PhoneGap Build (as well as Cordova CLI, if you choose that path).

    Add or delete a plugin from your Intel XDK project, or change some of your project properties in the Build Settings section of the Project tab. Then use the "Cordova Build Package" tool to export another ZIP file, a second time. Compare the config.xml from the second export to the first. You'll be able to see what the export tool is doing. It's not that difficult to follow.

    The full set of directives available for the config.xml file are documented on the PhoneGap Build and Apache Cordova sites. The PhoneGap Build version of a config.xml file is a superset of the Cordova one. But to get started doing this on your own, the simplest thing to do is configure your project using the Intel XDK and then export your project using the "Cordova Build Package" tool. Once you have a project that builds with PhoneGap Build (or Cordova CLI), you can do it all outside the Intel XDK, by simply editing your project config.xml file directly.

    Please share these instructions with the rest of the Construct2 community that is having trouble.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)