[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave on Android

From: John Swensen
Subject: Re: Octave on Android
Date: Tue, 22 Oct 2013 11:24:05 -0400

On Tue, Oct 22, 2013 at 11:07 AM, John Swensen <address@hidden> wrote:
After looking through https://github.com/corbinlc/octave4android/blob/master/octave/src/com/octave/octaveMain.java I am not convinced that everything needed to get this working is being provided. If you look at the member functions
private void unpackAll(),
private void installPackage(String packageName), and
private boolean updateRequired(String packageName),
it seem apparent that the obfuscated filenames found in the 
directory seem to be the actually binaries created by some other build process that is not included herein. So, essentially this seems to be the terminal launcher for Android that loads shared libraries created with some other build environment that transforms the Octave binaries into the Android package format. I looked through the rest of the build files and other resources and the process of building Octave for ARM and subsequently generating the Android package files is not included in this Github repository (maybe he has another non-public one?).

John Swensen

On Tue, Oct 22, 2013 at 10:16 AM, c. <address@hidden> wrote:

On 22 Oct 2013, at 16:07, Jordi Gutiérrez Hermoso <address@hidden> wrote:

> I believe this is precisely that required source code. This looks like
> the line that you have to change if you want to create a version that
> does not ask for a donation for these two packages:
>   https://github.com/corbinlc/octave4android/blob/master/octave/src/com/octave/octaveMain.java#L232
> Corbin, am I correct, or is there more required to build this package?

If that is so that's cool! I'd love to try and build and run Octave on my Galaxy ...
Corbin, can you confirm that evrything I need is on github?

> - Jordi G. H.

Sorry for top-posting on my last one (mental lapse). I am going to give a little added information to my last statement. Many of the files in https://github.com/corbinlc/octave4android/tree/master/octave/libs/armeabi are not actually shared libraries. Some of them are lists of files (e.g. https://github.com/corbinlc/octave4android/blob/master/octave/libs/armeabi/lib__install_link.so), some of them are m-files (e.g. https://github.com/corbinlc/octave4android/blob/master/octave/libs/armeabi/lib__file999.so) and some of them are binary files (e.g. https://github.com/corbinlc/octave4android/blob/master/octave/libs/armeabi/lib__file0.so). They do appear to just be a renaming/packaging of a cross-compiled tree of an octave build, but as to how this is generated from the build tree I am not exactly sure. Maybe someone with more Android dev experience could point this out.

John Swensen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]