is android always run using library .so like sample androidlcl
Yes, if you take Native/LCL Custom Drawn approach.
i still not understand how to create src\com\pascal\lcltest\LCLActivity.java
You don't, it's prepared and aren't meant to be changed.
is .apk file possible build from nonandroidtest (program, not libarary format)
Sorry, I don't understand this question. The .apk is NOT created by the compiler, but by Android SDK tools.
src\com\pascal\lcltest\LCLActivity.java build manually, if prepared what command to build it in build_debug_apk.bat
its contain :
static
{
try
{
Log.i("lclapp", "Trying to load liblclapp.so");
System.loadLibrary("lclapp");
}
catch(UnsatisfiedLinkError ule)
{
Log.e("lclapp", "WARNING: Could not load liblclapp.so");
ule.printStackTrace();
}
}
Sorry, I don't understand this question. The .apk is NOT created by the compiler, but by Android SDK tools.
i mean, there are two sample
androidlcltest.lpi --> library
and nonandroidtest.lpi --> program
so, nonandroidtest could run on android ?