The Intel® XDK development system is for those developers who wish to use their HTML5 expertise to build hybrid HTML5 apps for mobile devices (e.g., phones and tablets) and other platforms that host HTML5 web apps (such as a Google Chrome* extension or a mobile web site). To get started, you must first download and install the Intel XDK on your Linux*, Microsoft Windows* or Apple OS X* development system.
The Intel XDK application consists of a set of development tools to help you code, debug, test and build mobile web apps and hybrid HTML5 apps for multiple target platforms. This document provides steps for building and installing apps for Tizen*.
With the Intel XDK, apps can be developed using the Brackets* editor or drag & drop UI tools (App Designer or App Starter) integrated. You can find more information about App Designer using the videos. Once you have created your HTML5 app to be built as a Tizen* web app package (.wgt file), you will need to create a config.xml file to identify all of the application’s configurations. You can find more information on the the structure of a Tizen config file at https://developer.tizen.org/documentation/dev-guide. For narrowing down the search results in the Dev Guide to widget configuration, paste “Setting Widget Configuration” into the Search field.
Creating a Tizen config.xml file in the Intel® XDK
- Under the Develop tab, Right Click the left panel (File Tree panel)
- Select New File
- Rename the “Untitled” file to “config.xml”
Example of a config.xml
<?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" version="2.0" viewmodes="fullscreen" id="http://YourDomain.com/YourApp"> <icon src="icon.png"/> <content src="index.html"/> <name>Your App Name Goes Here</name> <tizen:setting install-location="auto" encryption="disable" background-support="disable" context-menu="disable" screen-orientation="portrait"/> </widget>
Building a Tizen Binary in the Intel XDK
- Under the Build tab, Click the Build button for Tizen
- Complete all the steps in the Build dialog
- Click the “Go to the Next Step” button when you are finished with each step
- Click the “App Ready” button to start build process.
- A .wgt file will be available for download when the build is complete.
- Download the .wgt file
Testing a Packaged Tizen* Web App
In order to test your newly packaged app on a Tizen system, you will need to download the Tizen SDK located at https://developer.tizen.org/downloads/tizen-sdk . The most essential items that you will need going forward are the Command Line Tools and Tizen Emulator.
In order to install an app onto the emulator, you will need to use the Command Prompt (Windows)/Terminal(Linux & Mac OSX).
- Type cd <path_to_wgt_file>
- Type web-install.bat --widget <wgt_filename.wgt>
For more information on installing apps go to https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2Fhtml%2Fide_sdk_tools%2Fusing_cli.htm
Deploy Your App
Open the following web site to begin the process of adding your app to the Tizen store: http://seller.tizenstore.com/login/signIn.as
If you have not done so already:
- Create an account by clicking Join Now
The account created will be for a Free distribution seller.
For each app, you will need to upload the signed* .WGT (binary) file and provide your app’s title, Content Type, Sales Country/Price, Selling starts and ends date. DRM applications, Category asssociations and age restrictions are requested. The store information includes the title, description, the app category, promotional text, icons, and screen shots
*Currently the Intel® XDK does not sign Tizen* apps. In order to create a signed Tizen* app, download the Tizen SDK.
In addition to the related videos listed at the start of this tutorial, here are links to other relevant topics: