Sunday, April 8, 2012

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.



Thanks


Source: Tips4all

6 comments:

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

    ReplyDelete
  2. 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)

    ReplyDelete
  3. 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.

    ReplyDelete
  4. First steps with native android applications made with Lazarus/FPC are here.

    ReplyDelete
  5. 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.

    ReplyDelete
  6. 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.

    ReplyDelete