Hi all,
I try to write app that used web control.
I create new Tizen Native Project -> Form-based application -> Without SceneManager.
Than, in the Tizen Native UI Builder I add Web component to the main form, add ILoadingListener callback
For the button OnActionPerformed callback for button I add event to load new web page:
Web* pWeb1 = static_cast<Web*>(GetControl(IDC_WEB1)); if(pWeb1) { Tizen::Base::String url(L"http://ya.ru/"); pWeb1->LoadUrl(url); }
I expect than web form loads this page, but calls only OnLoadingRequested callback, and nothing else, i.e. page doesn't loaded.
BUT if I commented line where I register callback for web form, pages loads normally. I.e. if I register callback, nothing work, but if I don't register callback, all working.
The next awful thing if I run this my simple app, try to load page, click "Back" button and try to run my app again, emulator unexpectly closed, and this problems only if I use web control. I use the last SDK from tizen site for Ubuntu x64.
The sample WebViewer use the same callback ILoadingListener, and it works fine, but emulator unexpectly closed too when I used emulator "Back" button and try to run this app again.
Any ideas?