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?
Tizen Wearable – Access local XML file
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.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio