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 SDK development environment to deploy Cordova apps for devices running the Tizen operating system.
The Tizen SDK requires Linux Ubuntu 10.04/10.10/11.04/11.10 (32-bit), or Windows XP SP3/7 (32-bit).
Developers should use the cordova
utility in conjunction with the Tizen SDK. See The Command-Line Interface for information how to install it, add projects, then build and deploy a project.
Download the Tizen SDK from tizen.org.
Launch the Tizen Eclipse IDE.
Select File → Import → Tizen Web Project:
Press Next.
Make sure Select root directory is checked.
Make sure Copy projects into workspace is checked.
Press Browse and select the Cordova Tizen samples
project directory (such as /cordova-basic
):
Press Finish. Your project should now be imported and appear in the Project Explorer view:
To rebuild the project, right-click in the Project Explorer view and Select Build Project:
A widget package file such as hello.wgt should generate in the project's root directory.
Right-click the project in the Project Explorer view and select Run As → Tizen Web Simulator Application:
Make sure that the target device is properly launched, connected and configured. Its Date and Time settings must be set correctly.
Use the Connection Explorer view to select the application deployment target: Window → Show View → Connection Explorer.
Right-click the project in the Project Explorer view, then select Run As & rarr; Tizen Web Application: