How to render html into the webview for HP WebOS
Last two month I have work on the WebOS and now I need the exact process that help to render html into the webview. I hope many users have already performed such kind of task. Then please help me to perform such kind of task. Any think will be appreciated.
re: How to render html into the webview for HP WebOS
If the web site has viewport Meta tag setup, then webview must render it properly. It looks to be in any case of whether it's recently fetched or not. There are number of ways that help to solve this problem. For solving this problem you can use Ajax.Request() to get the HTML. This is the best that will be work most of the time and I hope that this might be work and at the end of the process you can to render html into the webview. Then try this method on your HP tablet PC. I am sure that this will be help to you a lot. This will keep everything in the one webview. Try this and see what happen on your system.
re: How to render html into the webview for HP WebOS
It is possible that you can render a Webview widget as a html. There are code has been present that will be work to fix and then solve this problem you need to execute this code. This will be work a lot to fix this problem. The code is to be as follows:
Quote:
this.url = Mojo.appPath + '/html/my.html'
this.handleUpdate = this.handleUpdate.bind(this);
this.controller.setupWidget('web-view', {
url: this.url,
virtualpageheight: screen.height,
virtualpagewidth: screen.width,
useMouseEvents : true
});
then execute this code and see the actual result of this code on your tablet pc.