Android programming lazarus / 43-Android ---------------------------------------------------------------------- pcurtis · 2020-11-07 10:46 Hi All, I asked this question on another forum, but due to lack of answers I'll try here. is there a 101 on Android programming under Windows? points of interest What emulator? (Not interested in games) Setting up Laz Simple application (Button on form, Hello world) Thanks in advance. ---------------------------------------------------------------------- Handoko · 2020-11-07 14:41 Have you check the wiki? It should have all the information you need: https://wiki.lazarus.freepascal.org/Portal:Android There are several ways for Pascal-Android programming: LAMW, JVM, Custom Drawn, SDL: https://forum.lazarus.freepascal.org/index.php/topic,38777.msg264428.h tml#msg264428 But the most feature-rich is Lazarus Android Module Wizard: https://wiki.lazarus.freepascal.org/LAMW LAMW currently does not have detailed documentation but the wiki page in the link above is up-to-date. The hardest thing about Android programming is preparing the cross compiler and setting up toolchain, you should have no problem if you follow the tutorial correctly. You may need a fast internet connection, the size of toolchain you need to download is several GBs. Once LAMW downloaded, you should read these before start using LAMW: https://github.com/jmpessoa/lazandroidmodulewizard/tree/master/docs Some things you need to know are all the components you use in Windows/Linux cannot be used in Android (unless you use CustomDrawn components). LAMW provides its own components. There is no documentation about them but you can find examples how to use them from the source code downloaded in the folder .../demos. And Android screen layout system differs from Windows/Linux. You should search the web or forum to better understand how Android screen layout works. If you ask questions about LAMW, you may not get answer quickly, we all are new in Android programming. Be patient, the developer regularly checks this forum. ---------------------------------------------------------------------- jmpessoa · 2020-11-07 18:14 QuoteSetting up Laz... For LAMW: https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW_Ge tting_Started.txt ---------------------------------------------------------------------- pcurtis · 2020-11-07 23:23 Thanks both. ---------------------------------------------------------------------- shyub · 2020-11-12 07:29 I also recently started learning LAMW. On the Russian-language forum, I posted a detailed instruction with an example (Lazarus and Android _LAMW-master_.pdf and WebView.rar). Perhaps it will be useful to you. It is written in Russian, but with the help of Google Translate you can translate into your native language. https://www.cyberforum.ru/attachments/1164811d1594131342 ---------------------------------------------------------------------- MarkMLl · 2020-11-12 09:35 Quote from: Handoko on November 07, 2020, 03:41:24 pmThere are several ways for Pascal-Android programming: LAMW, JVM, Custom Drawn, SDL: ... But the most feature-rich is Lazarus Android Module Wizard: Which is of course half the problem: there's no way for the wiki to automatically mark that a certain technique is now the best supported one and that others aren't getting much TLC, and most people contributing to it have a natural reluctance to boost their own pet project by deleting out-of-date text. MarkMLl