Recent

Author Topic: Developing an App on a Windows PC and Running It on a Linux based Tablet  (Read 2400 times)

MalabarFlash

  • New Member
  • *
  • Posts: 21
I have a program that runs well on Windows 10 and I want to run it on my tablet PC (Android 4.4 OS).  I can download and install Lazarus on Linux on my desktop.  Can I copy the files from Windows to Linux and compile them in Linux?  I know the ".exe" file will not work in Linux.  Are the other files compatible?  Also, my program requires a mouse to click the buttons.  My tablet has a touchscreen.  Do I need to change the program in any way for this to work?

Handoko

  • Hero Member
  • *****
  • Posts: 5151
  • My goal: build my own game engine using Lazarus
Re: Developing an App on a Windows PC and Running It on a Linux based Tablet
« Reply #1 on: October 29, 2017, 04:26:00 pm »
You can't copy Linux binaries and run them on Android. There are many ways to build Android binaries (*.apk) using Lazarus/FPC, the easiest I think is using Lazarus Android Module Wizard (LAMW). Read more here:

http://forum.lazarus.freepascal.org/index.php/topic,33487.msg217112.html#msg217112

MalabarFlash

  • New Member
  • *
  • Posts: 21
Re: Developing an App on a Windows PC and Running It on a Linux based Tablet
« Reply #2 on: October 29, 2017, 08:46:56 pm »
Thank you.

I downloaded the program and looked at the instructions.  I was hoping there was a much simpler solution.

Handoko

  • Hero Member
  • *****
  • Posts: 5151
  • My goal: build my own game engine using Lazarus
Re: Developing an App on a Windows PC and Running It on a Linux based Tablet
« Reply #3 on: October 31, 2017, 07:01:38 pm »
If you interested, I just written a tutorial for installing LAMW:
http://forum.lazarus.freepascal.org/index.php/topic,38777.msg264419/topicseen.html#new

 

TinyPortal © 2005-2018