1. Home
  2. Mobile Built Services
  3. Crosswalk
  4. Intel XDK
  5. Intel XDK – Complete Guide for Construct 2

Intel XDK – Complete Guide for Construct 2

Intel XDK

Please note that Intel XDK has been deprecated! See the statement of Intel below,

Important

Intel® XDK has been discontinued. Below are alternative resources for building mobile HTML5 applications with Apache Cordova* software. Intel offers a portfolio of tools to help IoT developers go from rapid prototyping to production. Try Arduino Create* for a streamlined prototyping experience and Intel® System Studio for an all-in-one development tool suite.

Read the full statement here.

https://software.intel.com/en-us/xdk

Important!

For this tutorial you must have at least Construct 2 r225 (beta) and Intel XKD Build 3088 installed!

Video

Prepare

Get your certificate

  How to get the Intel XDK Certificate

Export

Open your project and export via Cordova.

c2_Cordova_Export

Then uncheck “Minify Script”.

c2_Cordova_Export_path

Then check “Use new Intel XDK project format”

c2_Cordova_Export_new_format

and eventually on “Export”. Then go to the export target folder and open the “Cordova Game Plugin.xdk” file with a code editor and go to “cordovaPlugins” (example shown below)

No power to bugs!

The latest beta update (r226) has fixed the issue with the wrong plugin code in the new intel xdk file. So following steps shouldn’t be necessary anymore. If you still get an error while opening the project, contact scirra.

 

Intel XDK

Now switch to Intel XDK. Make sure that you use the latest version (at least Build 3088). Click on “Open an Intel XDK Project” and navigate to the export targed folder and select the “Cordova Game Plugin.xdk” file. Then click open.

intel_xdk_open_project

intel_xdk_open_xdk_file

It will take a while till Intel XDK has imported the project. Give it some time.

Add Plugins

Now you can add all your plugins in the “Plugin Management” Section.

intel_xdk_import_plugins

Cranberrygame Cordova Plugins

Following plugins have been tested with the latest Intel XDK 3308+ version. Please make sure that you have installed at least Construct r226 (beta). In this version Scirra has fixed the bug with the wrong plugin pathes in the Intel XDK project file.

Cordova AdMob

This plugin doesn’t need any modification. If you open the Intel XDK Project file Intel XDK will import all needed plugins automatically. You can review in the Plugin Management section if it worked.

cordova_review_plugins

Construct 2 Example Files

Don’t know where to start? You can get our Construct 2 example file here.

  Game Template 3 - AdMob + IAP

Cordova Game

Plugin Source: Cordova Plugin registry

Plugin ID: cordova-plugin-game

Then click on “Add Plugin”. You will then prompt to input your Google Play Game APP ID (only numeric!).

Cordova AdMob

Plugin Source: Cordova Plugin registry

Plugin ID: cordova-plugin-ad-admob

Then click on “Add Plugin”.

Cordova IAP

Plugin Source: Cordova Plugin registry

Plugin ID: cordova-plugin-payment-iap

Then click on “Add Plugin”.

Cordova Powermanagement

Plugin Source: Cordova Plugin registry

Plugin ID: cordova-plugin-powermanagement

Then click on “Add Plugin”.

 

Demo Files

Here you can download demo files for Android built with Intel XDK 3308 or higher.

Icon

Cordova AdMob Demo 24 MB 1471 downloads

Download our Cordova AdMob demo application built with Intel XDK 3308. ...
Updated on May 6, 2018

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Privacy Preferences

Strictly Necessary

Cookies that are necessary for the site to function properly.

gdpr,PYPF, woocommerce_cart_hash, woocommerce_items_in_cart, _wp_wocommerce_session,gaoop_hide_info,cookieconsent_dismissed, wordpress_,'g-recaptcha-response

Google Analytics (Google Inc.)

We are using Google Analytics with anonymized IP (Google Inc.) to track usage data of our website anonymously. Please see more information at the privacy policy of Google Inc. https://www.google.com/intl/en/policies/privacy/

_ga,_gid, _gat, AMP_TOKEN,_gac, __utma, __utmt, __utmb, __utmc,__utmz,__utmv, __utmx,__utmxx,_gaexp

Google Adsense (Google Inc.)

We are using Google AdSense to show personalized ads on our webpage and our forum. For more information see the privacy policy by Google.
https://www.google.com/policies/technologies/ads/

Doubleclick, __gads, __gac