0

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?

Harish Godara
  • 2,685
  • 1
  • 13
  • 30
jasonflaherty
  • 1,864
  • 6
  • 38
  • 80

1 Answers1

0

Found an answer, but would like others to respond if you'd be so inclined.

Communication between Android Java and Phonegap Javascript?

Community
  • 1
  • 1
jasonflaherty
  • 1,864
  • 6
  • 38
  • 80