CyprUS
CyprUS

Reputation: 4239

How to create Android apps using Delphi

I have been asked to research on how to make an android app using Delphi, Now I am not sure that this can be done. I have not come across tutorials on the same. Somebody please clarify on this issue.

Upvotes: 24

Views: 31593

Answers (7)

David Heffernan
David Heffernan

Reputation: 612954

Delphi cannot create Android apps at present. This is being worked on for a future release.

Update: As of the release of XE5, Delphi now supports Android development for certain ARM hardware using the mobile Delphi compiler.

Upvotes: 21

Darian Miller
Darian Miller

Reputation: 8088

Delphi XE5 is now released with Android support.

http://www.embarcadero.com/products/rad-studio/create-android-apps

Upvotes: 4

ibandyop
ibandyop

Reputation: 171

One way is to use a combination of Delphi, Sencha and PhoneGap by leveraging the Raudus framework. You can try the RaudusEmployee.apk example on your phone and see if this method will work for you.

http://www.raudus.com/samples/

This is not a native application, but similar to many new HTML5 applications.

Upvotes: 4

avra
avra

Reputation: 3730

First steps with native Android applications made with Lazarus/FPC are here.

Upvotes: 4

LU RD
LU RD

Reputation: 34899

With DWS as backend script compiler and the soon to come Smart Mobile Studio (aka OP4JS) component library and RAD interface it will be possible to make apps running with HTML5 in android applications (and iOS or any other html5 compatible system).

By using object pascal, all Delphi and freepascal users will have a short learning curve and a high code reuse factor.

There are some samples using only the DWS backend here :

taming-the-flock-with-object-pascal

taming-html5-verlets-with-object-pascal

Update : More samples can now be found on their homepage.

Upvotes: 4

mjn
mjn

Reputation: 36654

Free Pascal is now able to produce code for the Java platform - so it might be feasible to create Delphi code which can be compiled to Java bytecode with FPC and then converted for the Dalvik VM.

The FPC backend for the Java Virtual Machine (JVM) generates Java byte code that conforms to the specifications of the JDK 1.5 (and later). While not all FPC language features work when targeting the JVM, most do (or will in the future) and we have done our best to introduce as few differences as possible.

This FPC JVM backend is not related to Project Cooper by RemObjects, nor does FPC now support the Oxygene language.

Upvotes: 6

Darian Miller
Darian Miller

Reputation: 8088

Two choices to follow at present - check out Delphi for Android which is in design/beta phase: http://lenniedevilliers.blogspot.com/

Or, use Prism http://www.embarcadero.com/products/prism (and check out their Oxygen for Java coming soon http://www.remobjects.com/oxygene/java.aspx which is in Beta)

Upvotes: 5

Related Questions