Author Topic: Android - recommendations  (Read 965 times)


  • New Member
  • *
  • Posts: 38
Android - recommendations
« on: November 24, 2019, 10:53:46 am »
Hi @all!

I'm planning on porting a small part of our code to android (mostly special calculations, no external references). To make it usable I need some sort of GUI and a possibility to communicate via network (preferrable TCP).

There's a lot of information about Lazarus and Android on the net - but most of the howtos around some years old.
Then there is that dual way of doing android directly and via JVM.

So I'm asking for help here:
Has someone recently done a successful project using Lazarus to produce a GUI and communication via TCP?
What technology did you use?
Any tips where to start?

We develop mainly on Linux. So I'd prefer to use that for creating the apks as well - but most of the tutorials use Windows als OS. Any recommendations on that topic as well?



  • Hero Member
  • *****
  • Posts: 3851
  • My goal: build my own game engine using Lazarus
Re: Android - recommendations
« Reply #1 on: December 06, 2019, 10:57:32 am »
There are several options for creating apk using Lazarus. You should try Lazarus Android Module Wizard first, it is the most features-rich and easiest.

I'm not good in network programming. But I managed to write a simple demo android app to communicate with my Linux desktop PC using UDP socket. LAMW has a lot of ready to use components.


  • Hero Member
  • *****
  • Posts: 2101
    • Lazarus and Free Pascal italian community
Re: Android - recommendations
« Reply #2 on: December 06, 2019, 12:17:35 pm »
I recently created an android app from linux and to configure the environment I used LAMW_Manager. It made the installation very easy. Look here about it.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1


TinyPortal © 2005-2018