File Manipulation Functions (fileread, open, filewrite, etc.) Not Working In Android.
Posted: March 29th, 2019, 1:36 am
Need assistance regarding the above matter.
I have a CSPro application that needs to open a text file, and read its content. Below is the snippet taken from CSPro help:
file f;
numeric n;
n = setfile(f, filepath);
errmsg ("n = %d", n);
From PC, n = 1 (successful)
From Android, n = 0 (unsuccessful)
With regards to filepath, I verified (using other error messages) that the text file path is correct and the file is actually present at the particular locatin (in both PC and android).
Did I miss something out? How can I read a text file (without dictionary) in an Android environment?
Many thanks in advance.
I have a CSPro application that needs to open a text file, and read its content. Below is the snippet taken from CSPro help:
file f;
numeric n;
n = setfile(f, filepath);
errmsg ("n = %d", n);
From PC, n = 1 (successful)
From Android, n = 0 (unsuccessful)
With regards to filepath, I verified (using other error messages) that the text file path is correct and the file is actually present at the particular locatin (in both PC and android).
Did I miss something out? How can I read a text file (without dictionary) in an Android environment?
Many thanks in advance.