Recent

Author Topic: when will lazarus support android and ios?  (Read 15209 times)

mas steindorff

  • Hero Member
  • *****
  • Posts: 560
Re: when will lazarus support android and ios?
« Reply #15 on: March 15, 2013, 06:25:24 pm »
The development team also have milestones that have to be implemented. Feel free to wait, or help finish those tasks if you can't.
I would love to help but I can't get a working compiler quite yet.  can you verify the wiki page http://wiki.freepascal.org/Android
is still up to date?  I have the same errors as some of the other users posted in http://forum.lazarus.freepascal.org/index.php/topic,17439.15.html

Do I what to use the 2.7.1 branch as mentioned above?

(if you say it's up to date, I'll post my issues there or start a new topic)
Thank you.
MAS
windows 10 &11, Ubuntu 21+ IDE 3.4 general releases

Leledumbo

  • Hero Member
  • *****
  • Posts: 8831
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: when will lazarus support android and ios?
« Reply #16 on: March 15, 2013, 08:01:03 pm »
Quote
can you verify the wiki page http://wiki.freepascal.org/Android
is still up to date?
Yep, not even a week ago I tried and manage to make it work for my project yesterday (looks like I missed LCL recompilation step).
Quote
Do I what to use the 2.7.1 branch as mentioned above?
Up to you. The 2.7.1 with native android support is the new, you could stay with the hacked 2.5.1 though.

mas steindorff

  • Hero Member
  • *****
  • Posts: 560
Re: when will lazarus support android and ios?
« Reply #17 on: March 15, 2013, 10:14:31 pm »
thanks Leledumbo, I'll give it a try this weekend. I'd like to help out this dev so I'll go with the 2.7.1 branch if you think that is the best path.  Most of my programing is via the IDE so I'm kinda useless until I get it running.

Did you start with a clean win32 a few days ago or did it already have some of these elements (android or pascal) installed?  The original wiki has us build the android compiler with a copy of Lazarus that is already installed.  I'm using a clean VM of win32 so I'll need to download everything from the beginning.

When I go to the site for NDK, they say I need the SDK too.  Is that true for us as well?
Thanks again
MAS
windows 10 &11, Ubuntu 21+ IDE 3.4 general releases

Leledumbo

  • Hero Member
  • *****
  • Posts: 8831
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: when will lazarus support android and ios?
« Reply #18 on: March 16, 2013, 08:34:47 am »
Quote
Did you start with a clean win32 a few days ago or did it already have some of these elements (android or pascal) installed?
I don't use windows anymore, linux only (probably also bsd in the next few days). I started with my existing installation of both fpc and lazarus (both from trunk, always), and android sdk + ndk (both updated to latest release).

After svn up, I add arm-android target to my automatic fpc cross build script (which works just fine, just need to symlink ndk binutils with arm-android prefix), open my existing android project, remove -CpARMv6 from additional compiler options (other tab in project options), and recompile. OK, that fails (EIntOverflow in forms unit) because my LCL isn't recompiled. Run->Clean up build files, this time it works fine.
Quote
When I go to the site for NDK, they say I need the SDK too.  Is that true for us as well?
AFAIK yes. I need the emulator, so SDK is needed anyway.

halflifezy

  • Jr. Member
  • **
  • Posts: 61
Re: when will lazarus support android and ios?
« Reply #19 on: March 19, 2013, 02:20:17 pm »
which compile version is your said?
FPC JVM Android?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8831
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: when will lazarus support android and ios?
« Reply #20 on: March 19, 2013, 05:06:07 pm »
Quote
FPC JVM Android?
No, arm-android. jvm-android is for pure Android application using only Java-Android libraries (with some limited standard units).

halflifezy

  • Jr. Member
  • **
  • Posts: 61
Re: when will lazarus support android and ios?
« Reply #21 on: March 20, 2013, 05:25:59 am »
what is the different between
arm-android and arm-linux?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8831
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: when will lazarus support android and ios?
« Reply #22 on: March 20, 2013, 10:54:23 am »
Quote
what is the different between
arm-android and arm-linux?
The same interpretation how i386-win32 differs from i386-linux: Same architecture, different OS.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12537
  • FPC developer.
Re: when will lazarus support android and ios?
« Reply #23 on: March 20, 2013, 02:45:07 pm »
Quote
what is the different between
arm-android and arm-linux?
The same interpretation how i386-win32 differs from i386-linux: Same architecture, different OS.

No. Android has a linux kernel. Just the userland differs.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8831
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: when will lazarus support android and ios?
« Reply #24 on: March 20, 2013, 04:52:40 pm »
Quote
No. Android has a linux kernel. Just the userland differs.
Yes, I know that. I'm talking in the sense of OS as FPC target.

halflifezy

  • Jr. Member
  • **
  • Posts: 61
Re: when will lazarus support android and ios?
« Reply #25 on: April 22, 2013, 04:49:36 pm »
hope it will release in a soon...ha,ha

 

TinyPortal © 2005-2018