Forum > iPhone/iPad

Lazarus for Android and iOS

(1/1)

fellipehenrique:
Hello,

I will start to develop for iOS, and I see in google the Lazarus can compile for iOS.. and for Android... my question is: The same project, code.. can I compile for both iOS and Android? Excluding - of course -  some code about native OS...

Thanks for all.

Best Regards,

felipemdc:
At the moment you can only share the non-visual code. For the Android GUI the best option is probably using the LCL. Using the Android native API is quite hard from native programs. For the iPhone currently you can only use the native iPhone API.

I do intend to port the LCL to the iPhone, but I haven't yet started. Donations or Bounties for this project are welcome, since the iphone is so expensive.

Phil:

--- Quote from: felipemdc on January 13, 2012, 10:09:33 pm ---I do intend to port the LCL to the iPhone, but I haven't yet started. Donations or Bounties for this project are welcome, since the iphone is so expensive.

--- End quote ---

You could always start with the entry-level iPod touch. That's what I use for development since I'm too cheap to buy the more expensive iPhone or iPad. The touch does not have a cell phone model, obviously, or GPS or the Siri voice frontend, but I think it has just about everything else that the iPhone has.

Thanks

-Phil

IndianaJones:

I think the basic thing is, can compile under the same compiler?

felipemdc:

--- Quote from: IndianaJones on January 13, 2012, 11:46:35 pm ---I think the basic thing is, can compile under the same compiler?
--- End quote ---

Yes, Free Pascal.

Navigation

[0] Message Index

Go to full version