Error: The symbol can't be exported from a library lazarus / 43-Android ---------------------------------------------------------------------- IndianaJones · 2012-01-11 14:24 Hi all, I have created a simple android application while compiling the app, it complains the subjected error. Simply copy the android directory without any changes. Does it necessary to change the "AndroidManifest.xml" to take effect? Thanks. ---------------------------------------------------------------------- felipemdc · 2012-01-11 15:31 strange, could you attach the project? You need to check and modify if necessary all files inside android/ but not doing it shouldn't affect the library build process, only the APK build process. ---------------------------------------------------------------------- IndianaJones · 2012-01-11 16:42 Here is the zip file. ---------------------------------------------------------------------- felipemdc · 2012-01-11 18:01 The entire uses clause is missing from WApplet.lpr ---------------------------------------------------------------------- IndianaJones · 2012-01-12 09:25 Thanks Felipe for your assistance, i rearranged the source code but some problem with the customdrawn components. Do I attach the application and the log.txt here or open a new bug report? ---------------------------------------------------------------------- felipemdc · 2012-01-12 09:55 Just attach them here. ---------------------------------------------------------------------- IndianaJones · 2012-01-12 12:02 Here are the attachments. P.S. What is the method to close the application (terminate)? Thanks ---------------------------------------------------------------------- felipemdc · 2012-01-16 10:51 Umm, I am having some issues testing this: 1> I created a non-android LPI and the buttons and labels work fine. 2> You zip file has no "android" directory, so I cannot build the APK 3> Please in the future add laz_synapse as a dependency to the project instead of adding raw paths. Right now this wont be a good idea, because the package refuses to build for arm-linux, but I just sent a patch to synapse to fix this. I hope they will apply it soon. QuoteP.S. What is the method to close the application (terminate)? Indeed it isnt yet implemented, I will implement as Application.Terminate and main form closing. ---------------------------------------------------------------------- felipemdc · 2012-01-17 15:29 I implemented TApplication.Terminate in rev 34765 ---------------------------------------------------------------------- felipemdc · 2012-01-17 19:49 Explaining a little better: Application.Terminate in Android will kill the application immediately Application.Minimize in Android will act like pushing the home button. Send the app to the background. Android does not allow to easily make a clean kill. Implementing one would be unreliable and overtly complex. So we can either do a dirty kill or minimize it.