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.
/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
/cordova-basic
) and select itMethod #2: Use Tizen Eclipse IDE Cordova Tizen project templates
To build your project:
A widget package should have been generated in your project root directory (e.g: cordova-basic.wgt
)
Note that the provided samples Tizen Cordova projects are not basic hello world applications. They contain a simple example usage of the Battery Cordova 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/configured (“Date and Time” settings must have been set correctly)
Select your application deployment target with the Connection Explorer view (Select Window Menu -> Show View -> Connection Explorer )
Right Click your project in the Project Explorer view and Select Run As and Tizen Web Application