Forum > General
iphone android and blackberry
cpalx:
is there anyway to make aplication in lazarus to run in blackberry, iphone and android?
Phil:
Native app: No.
Web app: Maybe. If you have a Mac with Snow Leopard, try out the latest Dashcode. It's a complete IDE for creating the JavaScript side of a Web app. Since Android devices (and future Blackberry devices?) use Apple's Webkit for their browsers, maybe a Dashcode Web app for Mobile Safari will work there too. I don't have any way to test, but if you do, try these out (or with any iOS device from Apple):
1. Simple Web app written completely in JS with Dashcode:
http://web.me.com/macpgmr/iApps/ShowCharDC/
2. Simple Web app written with Dashcode that makes an Ajax call to a PHP script on server:
http://web.fastermac.net/~MacPgmr/iApps/TestPHP/
Thanks.
-Phil
cpalx:
thanks .
Laksen:
Not for Blackberry, since it apparently runs Java applications
iPhone should be possible
Android might be possible with some hacks. There are some working on this now, I think
However, you can't use LCL for either of those two, so everything has to be done in code
Phil:
--- Quote from: Laksen on July 01, 2010, 10:34:20 pm ---However, you can't use LCL for either of those two, so everything has to be done in code
--- End quote ---
Nor would you want to use LCL, even if it were available for these devices (which it's not).
I assume you've seen these wiki pages:
http://wiki.lazarus.freepascal.org/Smartphone_Development
http://wiki.lazarus.freepascal.org/iPhone/iPod_development
The mobile world is evolving so rapidly that it's hard to see how most development tools will be able to keep up, regardless of whether they're open source or commercial products. A prudent approach is probably just to use the tools that the mobile OS companies are making available. For example, with Apple, that means Xcode for native apps or Dashcode for Web apps. Xcode (and its associated Interface Builder) is a formidable tool, whereas Dashcode is easy to use and only requires that you learn a bit of JavaScript to create the client side of your mobile Web app. You can then use whatever language you want on the server side, Pascal, PHP, whatever. Xcode development of native apps realistically means that you need to learn Objective C.
Probably the chief advantage to using the recommended (or required) tools for developing mobile apps is that you can immediately begin using them as soon as the beta SDKs become available. Otherwise you'll usually be waiting for someone to update your tools. For example, adding support for new iOS 4 features appears to be fairly simple if you're already working in Xcode:
http://www.roughlydrafted.com/2010/06/21/support-for-ios-4-multitasking-iphone-4-retina-display-easy-to-add/
Thanks.
-Phil
Navigation
[0] Message Index
[#] Next page