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