Can I use Lazarus Pascal to build for iOS AND Android
Asked Answered
M

3

6

I would like to know:

  1. If it's possible to use Lazarus (Pascal) for both Android and iOS development.

  2. If the answer seems positive, do I need a third-party SDK/API or package to do this?

Thanks!

Motoneuron answered 23/3, 2012 at 4:27 Comment(0)
O
3
  • Android: See answer from Nic Strong.
  • iOS (iPhone/iPad): Check google and find this result.
Offer answered 23/3, 2012 at 7:15 Comment(1)
So, after looking at the links from you and Nic, it seems like a YES with a NO :) i.e., to say, yes, we can use Lazarus/FP but no, there are issues. Thanks!Motoneuron
C
2

I am almost certain the answer is no.

EDIT: Looks like I was wrong. See http://wiki.lazarus.freepascal.org/Android_Programming

Charlatanism answered 23/3, 2012 at 4:59 Comment(1)
Thanks for the tip. And do you think it can be used for the iOS?Motoneuron
A
1

The answer is yes. For Ios Lazurs uses objectivepascal which a pascal extension that allows integration with objective-c much like objective-c++. However it is necessary to do some work to set-up the environment and you need an Apple computer to build test and debug.

This is the best entry point for iOS development:

http://objectivepascal.com/

Andonis answered 6/11, 2014 at 8:53 Comment(2)
Have you done this on a regular basis or at least to build a real-world app? A lot of folks who say "yes you can" also say "but there's some work to do to get it going" but they've never really tried this for real.Motoneuron
We had a discussion on linked in about this and there was a ready solution for IOS. But now it seems to be missing. Here's the linked in discussion: linkedin.com/groups/iOS-development-Lazarus-4558772.S.273351327Motoneuron

© 2022 - 2024 — McMap. All rights reserved.