Software Archive
Read-only legacy content

Accessing the www-folder via File-API leads to an error

Tom_R_4
초급자
386 조회수

Hi there,

on android I'm trying to get hold of a json file that I've stored in the www folder like so:

window.resolveLocalFileSystemURL('file:///' + cordova.file.applicationDirectory + 'www/my_asset_folder', success, fail);

However, I'm encountering the issue described under

https://issues.apache.org/jira/browse/CB-6428

Does anyone know a workaround for this on Intel XDK. We've tried both FilePlug 1.3.2 and 2.0.0 without success.

Any help would be appreciated.

0 포인트
1 응답
Anusha_M_Intel1
386 조회수

Hi Tom,

Please refer to this stackoverflow posting: http://stackoverflow.com/questions/21321335/intel-xdk-directory-browsing

The second answer by xmnboy should give you a clue on how to go about this. His answer illustrates how to play a media file but it sounds like what you are looking for.

0 포인트
응답