I guess the bottom line is the exact knowledge of ~bin is not that important 
for users to run J.

executables, if any, for addons must be placed under /data/data/...

On 20.06.2014, at 20:59, Don Guinn <[email protected]> wrote:

> I had it backwards in the contents of the two bin directories. Really hard
> to keep straight what I see on the tiny screen. SystemFolders_j_ shows ~bin
> pointing to the executables and all other folders to the sdcard file
> system. The second bin folder containing the profile script is in the same
> directory as the other SystemFolders_j_ pointers. I ran into this when the
> Files lab couldn't find profile.ijs .
> 
> There is little reason for accessing profile.ijs in J applications, so it
> is not a big deal that it is not in the same directory as the executables
> as in Windows and Linux. But is it really worth having a second bin folder
> when its contents are quite small? What about addons that include
> executables? How is that to be handled?
> 
> Android has a strange file system. It has an sdcard which is not really an
> sdcard. And it's really hard to put anything on a real sdcard if one is
> installed. Installed an sdcard to free up space on the phone and intended
> to be able to have my pictures etc. removable in case the phone crashed.
> Also to free up space on the phone by moving apps to it. Funny thing. The
> apps I could move went to the internal sdcard, not the external one. Still
> not sure where my pictures and videos are.
> 
> 
> On Thu, Jun 19, 2014 at 11:18 PM, bill lam <[email protected]> wrote:
> 
>> By default jqt/android installs nearly all files on sdcard to save
>> internal storage and allow files to be accessible from other apps. However
>> sdcard file system has all files exec permission off, so that executables
>> still needed to be placed inside its /data/data.
>> 
>> On 20.06.2014, at 12:24, Don Guinn <[email protected]> wrote:
>> 
>>> There are two bin directories in Android. On my phone
>>> 
>>> /data/data/com.jsoftware.android.qtide/files/bin
>>>  contains
>>> liblapack.so
>>> jconsole
>>> 
>>> The parent directory
>>> /data/data/com.jsoftware.android.qtide/files
>>>  contains
>>> addons
>>> assets_version.txt
>>> bin
>>> system
>>> 
>>> This is as it should be (I think).
>>> 
>>> However, this bin does not contain the profile files. They are in another
>>> bin -
>>> /storage/emulated/0/Android/data/com.jsoftware.android.qtide/bin
>>>  contains
>>> installer.txt
>>> profile.ijs
>>> profilex_template.ijs
>>> 
>>> In Windows and Linux these profile files are in the same bin with the
>>> executables. I do not understand the Android file system very well and
>>> there may be a reason for having two separate bin directories. But it
>> seems
>>> to me that they should be in the same bin like in Windows and Linux.
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to