*Backends for X11, Android and Windows and a partially working one for Cocoa, more can be added in the future*Painting is done completely inside Lazarus without any interference from the native libraries except for text drawing. This assures a complete perfection of the executed drawings in all platforms and a uniform level of supported features
This sounds a lot like the fpGUI LCLWidgetType. How is same related ?
Nice idea, Felipe. I also agree with this. Android seems has different point of view regarding GUI architecture (activity vs form, etc.) and that's contradictive with current LCL approach.
12-01 15:28:34.208: I/lclproject(433): Trying to load liblclapp.so12-01 15:28:34.248: D/dalvikvm(433): Trying to load lib /data/data/com.pascal.lcltest/lib/liblclapp.so 0x405154d812-01 15:28:34.298: E/lclproject(433): WARNING: Could not load liblclapp.so12-01 15:28:34.328: W/System.err(433): java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]: 33 cannot locate 'iconv_open'...12-01 15:28:34.328: W/System.err(433): at java.lang.Runtime.loadLibrary(Runtime.java:434)12-01 15:28:34.348: W/System.err(433): at java.lang.System.loadLibrary(System.java:554)12-01 15:28:34.348: W/System.err(433): at com.pascal.lcltest.LCLActivity.<clinit>(LCLActivity.java:73)12-01 15:28:34.348: W/System.err(433): at java.lang.Class.newInstanceImpl(Native Method)12-01 15:28:34.348: W/System.err(433): at java.lang.Class.newInstance(Class.java:1409)12-01 15:28:34.348: W/System.err(433): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)12-01 15:28:34.398: W/System.err(433): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)12-01 15:28:34.398: W/System.err(433): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)12-01 15:28:34.398: W/System.err(433): at android.app.ActivityThread.access$1500(ActivityThread.java:117)12-01 15:28:34.398: W/System.err(433): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)12-01 15:28:34.398: W/System.err(433): at android.os.Handler.dispatchMessage(Handler.java:99)12-01 15:28:34.398: W/System.err(433): at android.os.Looper.loop(Looper.java:123)12-01 15:28:34.398: W/System.err(433): at android.app.ActivityThread.main(ActivityThread.java:3683)12-01 15:28:34.408: W/System.err(433): at java.lang.reflect.Method.invokeNative(Native Method)12-01 15:28:34.408: W/System.err(433): at java.lang.reflect.Method.invoke(Method.java:507)12-01 15:28:34.408: W/System.err(433): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)12-01 15:28:34.431: W/System.err(433): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)12-01 15:28:34.431: W/System.err(433): at dalvik.system.NativeStart.main(Native Method)
$ file liblclapp.so liblclapp.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped
Free Pascal Compiler version 2.6.0rc1 [2011/11/11] for armCopyright (c) 1993-2011 by Florian Klaempfl and others/home/herux/Documents/fpcsvn/tags/release2_6_0/compiler/ppcrossarm [options] <inputfile> [options]Put + after a boolean switch option to enable it, - to disable it -a The compiler doesn't delete the generated assembler file -al List sourcecode lines in assembler file -an List node info in assembler file -ap Use pipes instead of creating temporary assembler files -ar List register allocation/release info in assembler file -at List temp allocation/release info in assembler file
felipemdc, does this mean that we can now paint on the form?
Which controls are supported? please forgive if maybe a dumb question.
Options changed, recompiling clean with -BHint: Start of reading config file /home/hyy/.fpc.cfgHint: Start of reading config file /etc/fpc.cfgHint: End of reading config file /etc/fpc.cfgHint: End of reading config file /home/hyy/.fpc.cfgError: Illegal parameter: -WR
Hi ,felipemdc ! I build the project meeting an error:
I build the cross_compiler as http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM. This Cross_Compileer works in Your Prev Project : New OpenGL Android Example . FPC:2.6.0; lpi file:androidlcltest.lpi .;lazarus revesion:33966.