We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Can someone explain to me how the data folder is used in Android Mode. I have: - Project Folder: - AndroidManifest.xml - code (folder) - data (folder created by me) - project.pde - sketch.properties
Is this OK? Because the console throw errors about the Data Folder because it cant read the archives. THX!
Answers
@lata===
put the error code you get
is archives a subfolder? a file? what else?
¨Could not load font regular.ttf. Make sure that the font has been copied to the data folder of your sketch.¨
I have the data folder with the .ttf archive and the PFont created in my sketch. Its the same handle the DATA folder on Android Mode and on Java Mode??
Check this:
https://forum.processing.org/two/discussion/21167/accessing-sd-cards-for-storage#latest
https://forum.processing.org/two/discussion/23512/txt-files-in-android-mode#latest
Kf
@lata1410=== if it is a font try to put it in a folder called "assets" that you create at the same level than data.