I am using phonegap to build a little android app. I need to get the data from a locally stored file. I have created a folder and have the xml file in there and can load it and see it when the app starts via:
String url = "file:///" + Environment.getExternalStorageDirectory().toString() + File.separator + "DV/emp.xml";
super.loadUrl(url, 500);
I would like to call this within the HTML
file found in assets/www
.
How can I pass this string URL
variable to my html file?