Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: Developing android apps

  1. #11
    Gold Member irneb's Avatar
    Join Date
    Apr 2007
    Location
    Jhb
    Posts
    625
    Thanks
    37
    Thanked 111 Times in 97 Posts
    Nope, Lazarus runs on any system (Windows, OSX, Linux, Unix) and can compile the source code to any of those also. So you can write the program/app in (say) OSX and compile it to run on Windows / Linux / Android / iOS. Here's a tut on setting up the android ties for the Windows version of Lazarus: http://wiki.lazarus.freepascal.org/Android_tutorial

    Officially you'd be better served (in Android) if you write the app directly in Java, from my experience the best IDE to use for Java is Eclipse. For iPhone it would be preferable to use Objective C instead (though Swift is a new language Apple made to use in their XCode IDE). And then if you want to also make your app work for Windows Phones you'd have to re-write it in some DotNet language like C#/VB-Net, i.e. VisualStudio. My issue with going about it this way is that you need to write it in 3 different languages using 3 different environments. That's one of the most awesome reasons to go with something like Lazarus instead.

    Another alternative is to use Xamarin Studio. In this case you can write for all three mobiles using the DotNet platform instead. I.e. similar to Lazarus but using C# instead of Pascal. Note though Xamarin's not entirely free / open source - especially for mobile development. And then you could always go with Qt, essentially does the same as Xamarin / Lazarus but geared towards writing using C++.

    Most other cross platform development for mobiles is done using html with javascript, or through the html5 idiom (basically just an updated version of the older html's DOM with JavaScript). Though this might not give the most awesome performance since it would basically run through a web page, so I'd think twice about creating some game using these. A nice IDE (open source) if you want to go this route is Cordova, but there's a commercial version with more capabilities called PhoneGap.

    If you want to make some truly awesome 3d games though you might want to take a look at Unity. It's based on DotNet, especially through the open source Mono DotNet engine instead of Microsoft's - thus it works through MonoDevelop / Xamarin. Basically it gives a unified interface to the various 3d graphics for all systems / acceleration. So it would use Direct3d on Windows and OpenGL on OSX/Linux and OpenGL ES for Android/iOS.
    Gold is the money of kings; silver is the money of gentlemen; barter is the money of peasants; but debt is the money of slaves. - Norm Franz
    And central banks are the slave clearing houses

  2. Thanks given for this post:

    Dave A (11-Jan-15)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Apps for electrical industry
    By AndyD in forum Electrical Contracting Industry Forum
    Replies: 19
    Last Post: 29-Apr-17, 12:38 PM
  2. Talking map apps
    By sterne.law@gmail.com in forum Technology Forum
    Replies: 8
    Last Post: 13-Aug-14, 02:53 PM
  3. How To Run Android Apps On PC
    By cabsco in forum Technology Forum
    Replies: 11
    Last Post: 25-Jul-14, 12:05 PM
  4. Developing a new game
    By Jacob Zuma in forum General Business Forum
    Replies: 13
    Last Post: 21-Jul-10, 08:10 AM
  5. If you're serious about developing the SA economy
    By Dave A in forum Business Finance Forum
    Replies: 9
    Last Post: 22-Feb-10, 09:43 PM

Did you like this article? Share it with your favourite social network.

Did you like this article? Share it with your favourite social network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •