Brand new at this and scouring thru the documentation and examples. Can anyone point me towards an example or documentation regarding how to open a URL by touching a button. Simple, I know, but I just can’t get it to work. Thanks. [import]uid: 36444 topic_id: 6741 reply_id: 306741[/import]
Did you find a way to open an URL inside an app??
I have the same problem…
Michael [import]uid: 12632 topic_id: 6741 reply_id: 26815[/import]
using the openURL api from the docs…
local button = display.newRect(100,100,100,100)
function button:tap()
system.openURL( "http://www.anscamobile.com" ) -- open URL in browser
end
button:addEventListener('tap', button)
[import]uid: 24641 topic_id: 6741 reply_id: 26822[/import]
I tried this before you answered but forgot to put in front http://
Thanks [import]uid: 12632 topic_id: 6741 reply_id: 26875[/import]