I'm still stuck in linking up with android library!
Using a simple java:
=================================================
package com.example.uhfreader816ubt;
public class HelloAndroid
{
public static String sayHelloAndroid()
{
return "Hello Android!";
}
}
==================================================
I've built the .jar file and put it in code/jvm-android folder alongside my lcb file:
===================================================
library com.livecode.library.uhfreader
metadata version is "1.0.0"
metadata author is "Patrick Shing"
metadata title is "UHF Reader"
use com.livecode.foreign
use com.livecode.java
__safe foreign handler JNI_SayHello() returns JString binds to "java:com.example.uhfreader816ubt.HelloAndroid>sayHelloAndroid()Ljava/lang/String;"
public handler sayHelloAndroid() returns String
return StringFromJString(JNI_SayHello())
end handler
public handler sayHello() returns String
return "hello world"
end handler
end library
========================================================
everything seems smooth in the IDE, no errors; I select the "UHF Reader" in the standalone options and build the apk file.
the working folder structure:

- working folder.png (29.69 KiB) Viewed 8370 times
seems being deployed into My Livecode Extensions folder correctly:

- My LiveCode Extensions folder.png (41.67 KiB) Viewed 8370 times
But in the apps, I can only get the straight forward "hello world", and the "Hello Android" seems never got returned (only blank, nothing returns)!
Since the codes had been reduced to an absolute minimum, I feel that I cannot get the jar file embedded in the apk! Please advise how should I move forward.
Thanks.