Quantcast
Viewing all articles
Browse latest Browse all 8068

Open local file in Safari

Dear Friends,

I know you may find this hard to believe, but I'm really on the last part of my app.

I just need to open a file in Safari. How can I do this?

I tried using the command:

Titanium.Platform.openURL('http://localhost/'+myFile.xml);
It doesn't work. I get no errors. It just doesn't work.

How can I launch it. I need this XML file to be opened by any app that can read XML files

What am I doing wrong?

I would really appreciate any help at this stage. This is the final part of my project.

It doesn't HAVE to be "SAFARI" - but if Safari opens this file, I think it could do the trick.

Many thanks EB


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>