@kitsaros, I have both FPC 2.7.1 and NDK r7c. The only changes I did were related to their locations on my computer. The size of liblclapp.so file that I built is around 5 MB (precisely 5,194,207 bytes) while yours is less than 2.7 MB (2,829,591 bytes)
My second guess is that
either CodeTyphon is using wrong compiler/linker
or your units\arm-android\* were generated using a different NDK (not r7c). With a quick search I saw what makes me think that CT 4.5 is supposed to be used with Android NDK-r8e. Am I right?
Try to use NDK-r8e with CT 4.5Are you trying to access the clipboard? I don't think it's working for Android.
I almost thought the same, but Leledumbo had
attached the same sample before and it has the same code!!
procedure Tform1.btnProgressClick(Sender: TObject);
var
sqliteDLL : Pointer;
begin
...
btnProgress.Caption := IntToHex(PtrUInt(sqliteDLL), 8);
DebugLn('Button1Click');
ProgressBar1.Position := ProgressBar1.Position + 10;
DebugLn('Cliboard.AsText='+ClipBoard.AsText);
Notice that it has the same wrong spelling
Cliboard for Cli
pboard. That's why I don't think it's the sample.
I think this smaller sized .so file is generated using two different NDK versions, one to compile the sample code and the other was used to compile the other packages units\arm-android\*