Is the browser capable of opening a file on Android? Bob S
> On Aug 7, 2018, at 13:25 , Dan Friedman via use-livecode > <[email protected]> wrote: > > Can anyone tell me why this fails on Android, when it works on iOS and > desktop: > > put specialFolderPath("documents") & "myTemp.pdf" into fPath > put someRandomPDFData into url ("binfile:" & fPath) > set the url of widget "Browser1" to fPath //I get a white screen > > I have also tried: > set the url of widget "Browser1" to ("file:/" & fPath) > set the url of widget "Browser1" to ("file://" & fPath) > > FWIW, this returns true: > answer (there is a file fPath) > > I have verified that someRandomPDFData is valid PDF data and the detailed > files returns the correct file name and size > > Using LC 9.0.1 > > -Dan > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
