Results 1 to 10 of 19

Thread: Freepascal app on Android market!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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

  2. #2
    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

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

    cheers,
    Paul

  4. #4
    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.

  5. #5
    Quote Originally Posted by code_glitch View Post
    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/]
    Hey code_glitch,
    I have dabbled a small bit with Ubuntu (version 9.x I think) + Lazarus in a virtual machine a while back, so I will try Ubuntu again

    I just wish I had a machine I could install Ubuntu on for real LOL

    cheers,
    Paul

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
  •