[wish]support resource access
like B4AR.getid("layout","main")
I had test
but it is so troublesome,and I have some res file ,in eclipse complied ok,but in b4a complied with error
It looks like b4a complied R.java in an error mode or method ?
here is the res:
like B4AR.getid("layout","main")
I had test
B4X:
BA.applicationContext.getResources().getIdentifier(resourceName, type, BA.packageName)
B4X:
Compiling code. 0.01
Compiling layouts code. 0.00
Generating R file. 0.81
Compiling generated Java code. 0.76
Convert byte code - optimized dex. 2.12
Standard dexer.
Packaging files. 0.87
Copying libraries resources 0.57
Found 21 resource files.
Signing package file (private key) Error
jarsigner: 无法对 jar 进行签名: java.util.zip.ZipException: duplicate entry: res/drawable/mediacontroller_pause_button.xml
here is the res: