more android sample lazarus / 43-Android ---------------------------------------------------------------------- irw10062 · 2012-10-07 07:11 is android always run using library .so like sample androidlcl i still not understand how to create src\com\pascal\lcltest\LCLActivity.java is .apk file possible build from nonandroidtest (program, not libarary format) ---------------------------------------------------------------------- Leledumbo · 2012-10-07 08:15 Quoteis android always run using library .so like sample androidlclYes, if you take Native/LCL Custom Drawn approach. Quotei still not understand how to create src\com\pascal\lcltest\LCLActivity.javaYou don't, it's prepared and aren't meant to be changed. Quoteis .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. ---------------------------------------------------------------------- irw10062 · 2012-10-07 09:30 Quote from: Leledumbo on October 07, 2012, 10:15:48 amQuoteis android always run using library .so like sample androidlclYes, if you take Native/LCL Custom Drawn approach. Quotei still not understand how to create src\com\pascal\lcltest\LCLActivity.javaYou don't, it's prepared and aren't meant to be changed. Quoteis .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 : Quote  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();     }   } QuoteSorry, 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 ? ---------------------------------------------------------------------- Leledumbo · 2012-10-07 12:08 Quotei mean, there are two sample androidlcltest.lpi --> library and nonandroidtest.lpi --> program so, nonandroidtest could run on android ?No, it's a sample to show that same base source can be used to create programs for android and desktop system using custom drawn interface.