Quantcast
Channel: HTML5
Viewing all articles
Browse latest Browse all 663

Choose Project

$
0
0

Before you test an app using the EMULATE tab, you need to choose an existing project or create a new project.

Use the PROJECTS tab to select the active project to be used by other tabs. Selecting the project will also select the index.html file within the chosen project for the Device Emulator. This tab also lets you remove the selected project from the project list.

In this tutorial, we will show how to create a project for the Basic Hybrid App sample included with the Intel XDK and use it in the EMULATE tab.

View Available Demo Samples in the PROJECTS Tab

  1. Open the Intel XDK.

  2. Click the PROJECTS tab.

  3. Click the Start a New Project button near the bottom.

  4. Click Work with a Demo. Several available demos are displayed.

  5. To view the brief summary of any demo app, click its title. To view demo apps in a specific category, click the drop-down list to the right of Filter by keyword.

  6. Continue with the steps below.

For this Tutorial: Create a New Project and Open It

To select the Basic Hybrid App demo app for this tutorial and create its project, continue from the previous section.

  1. Complete the steps above under View Available Demo Samples in the PROJECTS tab.

  2. Click the title Basic Hybrid App. Once selected, the icon will turn blue.

  3. Click the NEXT button.

  4. Type a name for your project, such as: BasicHybrid_demo

  5. Click the BROWSE button and select a directory under which you will create a new directory. The directory name will be based on the Project name, BasicHybrid_demo.

  6. Click the CREATE button. The PROJECTS tab appears.

  7. If needed, in the left margin click the name of your new project BasicHybrid_demo.

  8. Click the DEVELOP tab. If needed, click the CODE button on the left.

  9. Below the project name, view the source files for this app:


    Develop tab

  10. Click the file index.html to display its code.

  11. Please notice that app_framework, images, js and sounds are directories. Click the triangle button to show or hide their files:


    Editor view showing the files in the image directory

English(英语)

Viewing all articles
Browse latest Browse all 663


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>