I give up! What is the magic that gets the browser widget on Android to see a local html file
(it always works in iOS) given the following directory layout myApp.livecode # the standalone is built from this /module lexicon.livecode # with nothing but a browser widget which points too: /web index.html if have tried all manner of: hard coded: set the itemdel to "/" get item 1 to -2 of the effective filename of this stack put it & "/web/index.html" into tURL set the URL of widget "Browser" to ("file://" & tURL) # this works on iOS but not on Android # Various incarnations of if isMobile() then # this work on iOS # but not on Android put specialFolderPath("engine") into tRoot set the URL of widget "Browser" to ( "file://" &tRoot & "/modules/lexicon/web/index.html") else # works on desktop put specialFolderPath("resources") into tRoot set the URL of widget "Browser" to ( "file://" &tRoot & "/web/index.html") end if ?? BR _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode