Forum > CustomDrawn

Customdrawn : cross compile for Android

(1/1)

sameer:
Hi,

I compiled/built the example app for android. However the apk crashes.

Can anyone tell me whether customdrawn works with android ?

I am using FPC 3.0.4.

Regards

-Sam

lainz:

--- Quote from: sameer on August 05, 2018, 05:59:32 pm ---Hi,

I compiled/built the example app for android. However the apk crashes.

Can anyone tell me whether customdrawn works with android ?

I am using FPC 3.0.4.

Regards

-Sam

--- End quote ---

Hi, it should work. But it has a problem if you read the wiki that it uses pixel drawing routines in Android, that is slow. You should try LAMW that has better performance and AFAIK native controls.

Handoko:
If I remember correctly, CustomDrawn has issue with Android 5 and above. It works but only on Android 4 and below. The bugs already reported, but it seems the development of CustomDrawn is (temporary) halted.

For more info about Android programming on Lazarus/FPC:
https://forum.lazarus.freepascal.org/index.php/topic,28908.msg272137.html#msg272137

sameer:
Handoko,

Thanks for the reply. I used SDK27 to build the androidlclexample apk and it does not work on Android 2.3 - Android 4.

Anyway. I am checking out LAMW. However, LAMW->dbgridview does not work for me. The demo example of same works ok but my app crashes.

Regards

-Sam

Handoko:

--- Quote from: sameer link=topic=42137.msg293665#msg293665 ---Anyway. I am checking out LAMW. However, LAMW->dbgridview does not work for me. The demo example of same works ok but my app crashes.

--- End quote ---

The developer of LAMW check this forum regularly. You can submit a bug report, and don't forget to put "[LAMW] ..." at the beginning of the post's title.

Navigation

[0] Message Index

Go to full version