You don't have to do anything with the Java code. Only posted it in case someone wants to modify the library and recompile it into a new jar and xml. Have just tested it again on my device and all working fine.
Ah, very good (this is what I assumed - and it is beyond the call of duty to have included that Java code). (I feel much better - since that is exaclty what I assumed. But I also assumed that I was to modify that code to make this work.
What is inside your Files folder?
I not added or changed what the sample has. I see only the view "main.bal" layout (view) file.
I see/have this:
And inside of Files, there is as noted the main.bal layout:
I don't have anything else in that folder.
As I noted, the project does build. But we error out on 37 - this line:
Activity.LoadLayout("main")
And the error is as per above screen shot:
eg:
So, I was assuming that I had to modify the source to make this work.
I am using jdk-11.0.1. , build tools points to 30.0.2 (these are to my knowledge the defalults out of the box for B4A).
So, at least I am now on the right track. It obviously a build version/configuration issue in regards to my version of B4A.
I try pointing B4A to a previous version of the build tools, and see if that works.
(appreciate your follow-up). So, based on information so far, with the sample, as long as it compiles, sees the LibRes folder correctly (it does), then this should run.
Current libraries shows only 2 references:
So, as long as I grasp the idea here (I did not realize) that the given sample should run, then obviously work on my end to try some earlier versions of the SDK would be in order.
I honestly feed bad - since your instructions were clear - I just had to be 100% sure I should not need to modify this sample to run. S
Now that this assuming is clear, then I think this road comes down to trying a few different SDK's - I give this a try and see what happens.
Regards,
Albert D. Kallal
Edmonton, Alberta Canada