I am just past stupidly lost with this problem:
1. In a library that I am trying to do a wrapper for there is this line of code:
2. The Java project includes a folder called resources and inside this folder is a file called smartcard_list.txt
Where in my B4A project do I need to add the resources folder that contains file smartcard_list.txt ?
I have tried adding it to /Files, /Object/res/raw, but not getting any joy. When I log "is" (=InputStream) it logs "null"
1. In a library that I am trying to do a wrapper for there is this line of code:
B4X:
InputStream is = null;
InputStreamReader isr = null;
BufferedReader br = null;
try {
is = AtrUtils.class.getResourceAsStream("/smartcard_list.txt");
Where in my B4A project do I need to add the resources folder that contains file smartcard_list.txt ?
I have tried adding it to /Files, /Object/res/raw, but not getting any joy. When I log "is" (=InputStream) it logs "null"