[Tizen Application-dev] Tizen Filesystem Resolve...

Mattison, Steven smattiso at jaguarlandrover.com
Wed Feb 25 19:59:10 GMT 2015

Good day.
I'm having quite a time with the resolve() function of the Tizen Filesystem
API object.

The dev-guide here states "To access other paths out of virtual root, for
example '/tmp/', 'file:///tmp' can be used as location parameter."

So I'm here using the filesystem.resolve() call and I'm able to see
'file:///tmp', but it's returning false for 'isDirectory' and attempting to
access it as a directory provides an 'InvalidValuesError'.

To make matters worse, I can't seem to access any other paths out of
virtual root that may be helpful, for example '/', to see my way around.
I'd hate to just assume that my desired filename is not in use, and
accidentally overwrite some important system documents. Then again, I'm not
even sure what part of the filesystem 'file://' attempts to access.

If you've experienced success accessing paths outside of virtual root, let
me know. How did you do it? What did you accomplish? Where on the
filesystem does all of this 'accessing' take place? Can the device's root
folder be accessed through the Filesystem API?

Thanks in advance!

*Steve Mattison*
JavaScript Engineer

*T: *+1.503.545.7545
*Email:*  smattiso at jaguarlandrover.com

Jaguar Land Rover North America, LLC
1419 NW 14th Ave, Portland, OR 97209
Business Details:
Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070

This e-mail and any attachments contain confidential information for a
specific individual and purpose.  The information is private and privileged
and intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient, please e-mail us immediately.  We
apologise for any inconvenience caused but you are hereby notified that any
disclosure, copying or distribution or the taking of any action in reliance
on the information contained herein is strictly prohibited.

This e-mail does not constitute an order for goods or services unless
accompanied by an official purchase order.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20150225/c2552fab/attachment.html>

More information about the Application-dev mailing list