[Tizen Application-dev] How to read "resource" files added via Tizen IDE

Olemis Lang olemis at gmail.com
Tue Mar 1 21:14:48 GMT 2016


Hello !

I'm giving my first steps on programming web apps for Tizen wearable
devices . This is what I want to do :

1) By using the Tizen IDE , add a file , e.g. x.txt , under a folder ,
e.g. data/text (i.e. relative path from project root is
data/text/x.txt )
2) At run-time , I want to read the contents of x.txt file
3) ... and do some extra processing with it .

I thought I could just read wgt-package virtual root but my code [1]_
(after fixing it) returns no file at that location .

How could I do this ? BTW , I've been testing on the web simulator .

p.s. I'm inclined to think that this is quite simple , so I guess this
should be documented somewhere but I just could not find a reference
after searching for a while (since yesterday), so I'm hoping someone
can help me put my efforts on the right track

Thanks in advance !

.. [1] https://stackoverflow.com/questions/35712612/tizen-filesystem-resolve-error-the-content-of-an-object-does-not-include-val

-- 
Regards,

Olemis - @olemislc

Apache™ Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Brython committer
http://brython.info
http://github.com/brython-dev/brython

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:


More information about the Application-dev mailing list