using loadStrings to read a json file in my data folder.
in
Android Processing
•
10 months ago
I'm witting an application called "cursor".
In my /home/me/sketchbook/cursor/data folder I've put a JSON file called "de_DE.json", and I've give to this folder 777 recursively permission.
I'm trying to load this file with this code:
String BASE_URL = "de_DE.json";
String response = loadStrings(BASE_URL)[0];
In Java mode the app is working without problem, but in android mode the application can't find the file.
Is someone having an idea about this issue?
Many thanks in advance.
1