24

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.

1

7 Answers 7

21

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.

Sign up to request clarification or add additional context in comments.

7 Comments

The newly released RADPHP product supports Android when developing webapps, though.
@Remy That's not Delphi though is it? None of the other answers talk about things that are Delphi.
No, it is not Delphi, but it is the only Embarcadero product that supports developing code that runs in Android, albeit server-code code that runs from a webbrowser.
It seems unlikely that anyone has a particular desire just to use Embarcadero products!
The OP does, hense the question: "how to make an android app using Delphi"
|
6

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.

1 Comment

Free Pascal's JVM bytecode stuff is experimental at best. However FPC has native Android support that is slightly further along. It is clumsy, but those are mostly Android limitations.
5

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)

1 Comment

Delphi for Android cannot be used for real-life app development. And it seems (already) abandoned.
4

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.

Comments

4

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

Comments

4

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.

Comments

4

Delphi XE5 is now released with Android support.

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

1 Comment

It supports Android, iOS, Windows and OS X now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.