showing an HTML SIte using LUA,

hi,
after i understood you CAN’T get a respons from a server (in any UTF8 language such as hebrew…) and show it in your application using lua,
I want to show an HTML site in my application .
can i do that ? (to have an html site in my application without the application to exit and open safari …)
?
[import]uid: 173648 topic_id: 30785 reply_id: 330785[/import]

The best way to show a web page in the app (without opening safari) is to use the newWebView api.

local webView = native.newWebView( 0, 0, 320, 480 )  
webView:request( "http://www.coronalabs.com/" )  

That was taken from the documentation page and should be what your after :slight_smile: [import]uid: 69826 topic_id: 30785 reply_id: 123241[/import]

first of all thank you !!!
bt it doesn’t work…
it doesn’t show any screen in the device just a black screen…when the application is starting. [import]uid: 173648 topic_id: 30785 reply_id: 123244[/import]

The best way to show a web page in the app (without opening safari) is to use the newWebView api.

local webView = native.newWebView( 0, 0, 320, 480 )  
webView:request( "http://www.coronalabs.com/" )  

That was taken from the documentation page and should be what your after :slight_smile: [import]uid: 69826 topic_id: 30785 reply_id: 123241[/import]

first of all thank you !!!
bt it doesn’t work…
it doesn’t show any screen in the device just a black screen…when the application is starting. [import]uid: 173648 topic_id: 30785 reply_id: 123244[/import]