Results 1 to 10 of 19

Thread: Freepascal app on Android market!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Now this is what I call salvation: I was looking into one of those android tabs (read your thread paul, very nice finds) and was very worried I'd end up on the experimental side of compilers or have to revert to C/C++ which isn't my first choice. For me, Java is just NO. plain and simple - no java ever. The only iteration of Java I find 'acceptable' is javascript but propper java on a device: sorry - no...
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  2. #2
    Quote Originally Posted by code_glitch View Post
    Now this is what I call salvation: I was looking into one of those android tabs (read your thread paul, very nice finds) and was very worried I'd end up on the experimental side of compilers or have to revert to C/C++ which isn't my first choice. For me, Java is just NO. plain and simple - no java ever. The only iteration of Java I find 'acceptable' is javascript but propper java on a device: sorry - no...
    I know what you mean, but I have bit the bullet, and am now also learning Java + Eclipse IDE to make some programs for my tablet. This is until I can find something suitable with Pascal and Android...

    I have been spoiled with Pascal, Java doesn't even have unsigned types like Byte (unsigned), Word, LongWord, only signed integers! This is causing some pain when trying to convert some Pascal code to Java

    I am also trying Project Cooper beta, but I am having trouble getting my head around the Delphi Prism syntax Also, quite frankly, doing something with Java + Eclipse is rather nice (ignoring the language issues)...Eclipse is very user friendly once you get used to it, mainly hints with errors It gives you one or more fixes for errors that you can just click on and implement!!

    cheers,
    Paul

  3. #3

    Freepascal app on Android market

    So I had to reset my android device, and when I went to reinstall all my purchase apps, one of them was the OrbLive... It shows up, but wont let me install, and when I did a search for the OrbLive, its not in the market anymore. What to do?

  4. #4
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    bump!

    Sorry for the long wait to get approved...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #5
    Quote Originally Posted by code_glitch View Post
    For me, Java is just NO. plain and simple - no java ever.
    I agree with you, totally. Awful language, combining the worst parts of C with poor performance, tedious frameworks and, worst of all, a "purity" attitude that is totally unacceptable.

    And I have learned Java. I have used it in education, designed labs using it, and in two commercial projects. I know it well enough to know that it is my enemy. Java, the dark side of programming!

    But nothing bad that doesn't have a bright side. If I can write for Android in pure FPC code, I believe that I can outperform the Java crowd in performance (almost without even trying), and the C crowd in productivity. The only thing I fear is that it is as hard to make a working installation as it is for the iPhone. (I have a working iPhone installation, and the process to make a new one, but it was not easy to figure out.)

  6. #6
    It's pretty easy to make Android programs using the NativeActivity trick. It requires that huge ant build system, but once set up it generally just works

    I have an example here: http://j-software.dk/android.zip
    Run lazbuild test.lpi in the jni dir, and then run ant debug/ant
    install in the root dir
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  7. #7
    Quote Originally Posted by JSoftware View Post
    It's pretty easy to make Android programs using the NativeActivity trick. It requires that huge ant build system, but once set up it generally just works

    I have an example here: http://j-software.dk/android.zip
    Run lazbuild test.lpi in the jni dir, and then run ant debug/ant
    install in the root dir
    Thanks JSoftware

    So it looks like I need a arm-linux cross-compiler then for this project?

    cheers,
    Paul

  8. #8
    Quote Originally Posted by paul_nicholls View Post
    Thanks JSoftware

    So it looks like I need a arm-linux cross-compiler then for this project?

    cheers,
    Paul
    Yes precisely

    Edit: You need to build a crosscompiler, and you need to get the relevant libraries from the Android SDK
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  9. #9
    Ok, will try and build a cross-compiler, and I already have the android SDK

    cheers,
    Paul

  10. #10
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Hmm... ARM cross compiler? Doesn't FPC have about 3 of those anyway?

    if this is your first steps in Linux paul, I'd highly recommend a ubuntu 10.10 install, 11.04 is *cough*acceptable but caused me 2 entire reloads grr.,.. I don't know what they did to it but yeah. Oh, and I'm on the Canonical boo! side of things, that also means I hate unity and love Gnome, KDE, XFCE and (YAY) the new Gnome 3!!!! [Although I didn't get it working to good last time X/]
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

Bookmarks

Posting Permissions

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