Tizen Wearable – Access local XML file

Tizen Wearable – Access local XML file

BY 24 Oct 2014 Web Application Development

Greetings.

I want to include XML file with some data with my application for Tizen Wearable, e.g. put it into *.wgt file next to all other resources.

However it’s not very clear how can I read it at runtime? I know how to parse it, but I need to read the file itself into a string first.
All solutions that I’ve found suggest using XMLHttpRequest, but they are all related to usual Web-development, and I’m pretty confident that it can’t be that accessing LOCAL (for the application) file requires sending AJAX requests.

So the question is – how to open and read local text file into a string?

Thanks in advance.

Written by