license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
This guide describes how to set up your development environment for Cordova and run a sample application. Note that Cordova used to be called PhoneGap, so some of the sites still use the old PhoneGap name.
tizen directory./templates directory content into you Tizen Eclipse IDE web templates directory (e.g: /home/my_username/tizen-sdk/IDE/Templates/web).Method #1: Import a Cordova Tizen project sample
samples project directory (e.g: /cordova-basic) and select itMethod #2: Use Tizen Eclipse IDE Cordova Tizen project templates
To build your project:
A widget package should be generated in your project root directory (e.g: cordova-basic.wgt)
NOTE: The sample Tizen Cordova projects provided go beyond basic “hello world” applications, and feature example usage of the Battery API.
Right Click your project in the Project Explorer view and Select Run As and Tizen Web Simulator Application
Make sure that your target device is properly launched, connected and configured. Its Date and Time settings must be set correctly.
Select your application deployment target with the Connection Explorer view (Select Window → Show View → Connection Explorer.)
Right-click your project in the Project Explorer view and select Run As and Tizen Web Application