Languages

Menu
Sites
Language
Can I develop HTML5 app without web-ui-fw?

I have developped my own web ui and IDE (http://www.drawapp8.com/appedit.php), the app works fine in the simulator, but when I submit it to tizenstore, it was rejected because:

[Defect]

1. The application is terminated abnormally when BACK key is pressed.
2. The application is not terminated or the previous page does not appear when the BACK key is pressed.

[Procedure]
1. Run the application.
2. Press the BACK key.
3. Check that the application operates as expected.

[Expected Result]
When the BACK key is pressed, the application must be terminated or the previous page must appear.

How can I handle the back key without tizen webui?

 

 

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

Responses

2 Replies
James Vo
Hi li xianjim, If you are using Tizen 2.2. You can create a Tizen Web Project template/ Basic/ Basic Application and the code which handle back key should be in js/main.js document.addEventListener('tizenhwkey', function(e) { if (e.keyName == "back") tizen.application.getCurrentApplication().exit(); }); Regards, James Vo
James Vo
Hi li xianjim, If you are using Tizen 2.2. You can create a Tizen Web Project template/ Basic/ Basic Application and the code which handle back key should be in js/main.js document.addEventListener('tizenhwkey', function(e) { if (e.keyName == "back") tizen.application.getCurrentApplication().exit(); }); Regards, James Vo