Skip to main content

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

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

Post a Comment

Popular posts from this blog

Why is this Javascript much *slower* than its jQuery equivalent?

I have a HTML list of about 500 items and a "filter" box above it. I started by using jQuery to filter the list when I typed a letter (timing code added later): $('#filter').keyup( function() { var jqStart = (new Date).getTime(); var search = $(this).val().toLowerCase(); var $list = $('ul.ablist > li'); $list.each( function() { if ( $(this).text().toLowerCase().indexOf(search) === -1 ) $(this).hide(); else $(this).show(); } ); console.log('Time: ' + ((new Date).getTime() - jqStart)); } ); However, there was a couple of seconds delay after typing each letter (particularly the first letter). So I thought it may be slightly quicker if I used plain Javascript (I read recently that jQuery's each function is particularly slow). Here's my JS equivalent: document.getElementById('filter').addEventListener( 'keyup', function () { var jsStart = (new Date).getTime()...

Is it possible to have IF statement in an Echo statement in PHP

Thanks in advance. I did look at the other questions/answers that were similar and didn't find exactly what I was looking for. I'm trying to do this, am I on the right path? echo " <div id='tabs-".$match."'> <textarea id='".$match."' name='".$match."'>". if ($COLUMN_NAME === $match) { echo $FIELD_WITH_COLUMN_NAME; } else { } ."</textarea> <script type='text/javascript'> CKEDITOR.replace( '".$match."' ); </script> </div>"; I am getting the following error message in the browser: Parse error: syntax error, unexpected T_IF Please let me know if this is the right way to go about nesting an IF statement inside an echo. Thank you.