언어 설정

Menu
Sites
Language
Problem and Solution

When trying to import Sample Web Applications from https://developer.tizen.org/resources/sample-web-applications to the Tizen IDE and run on emulator. I faced a problem after following the steps mentioned https://developer.tizen.org/resources/sample-web-applications/load-web-app-tizen-sdk but some trial and experiment helped me fixing the issue …….

 

Posting my experience here ….. if anyone has better solution or could point out my mistake please suggest

 

PROBLEM:

When followed the steps mentioned at https://developer.tizen.org/resources/sample-web-applications/load-web-app-tizen-sdk on samples available at  https://developer.tizen.org/resources/sample-web-applications I could not see “Run as” emulator or simulator option for the project/application. Also when I built it, it did not create any “.wgz” file. i.e. it failed at step 4.

 

SOLUTION:

I created a new “Tizen Web Project” -> “Tizen Web UI Framework” -> “Single-Page Application”

Project name same as one of the sample, say : “annex”

and Finish.

Then replaced all the html, css, js, image, json, and other necessary resource file  in the newly created project from the original project.

Did not replace the project related file, config.xml.

Now it was building and “.wgz” file got generated.

Ran on 720X1280 emulator and … everything worked fine.

On 480X800 emulator the sample annex did not display properly …. But probably that’s bcz the html file is not designed for small screen …. Still need to look into the source

 

If anyone found a better way … suggest

 

~dhirendra

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 댓글
Raghavendra Reddy Shiva
Hi Dhirendra, Thanks for sharing the workaround as well. When you create a non web tizen project (say in this case, a general project was created ), then the "run as" will not not be available. You need to use the 'run configurations" to create, manage and run the application for either simulator or emulator. Regards, Raghavendra