Forum > Android-JVM
Compile to a tablet?
regressist:
--- Quote from: engkin on October 30, 2021, 06:32:16 pm ---
Yes, the name of the file alone will not work, unlike Windows. You need to put period slash ./ before it's name.
Unfortunately I will not be around a computer for some hours. As soon as I get a chance I'll try it on my side and give you a more accurate step.
At least now we know your device is rooted. :)
--- End quote ---
Sorry to bother you again: can I assume that there is no way to change the execution rights of the file (at least at my low level)?
Thanks
engkin:
Try to put the file in:
/data/local/tmp
And change its execution rights there.
regressist:
--- Quote from: engkin on November 18, 2021, 03:58:57 pm ---Try to put the file in:
/data/local/tmp
And change its execution rights there.
--- End quote ---
WONDERFUL, it works. I appreciate a lot your support.
I think I was lucky: you must be a top class programmer!
Thanks a lot
Sergio
regressist:
--- Quote from: MarkMLl on October 30, 2021, 12:48:06 pm ---This certainly shouldn't be a killer, and I would urge you to watch out for late responses (it's a weekend, so there might not be as much activity here as normal).
In the worst case you might end up having to install something like Termux anyway, simply to allow you to run chmod or whatever is needed... that should also allow you to use e.g. sftp which doesn't mess around with file permissions in transit.
The fact that people (myself included) have run the compiler successfully on the target system using Termux suggests that this is solvable, allowing you to develop comfortably on a host PC.
MarkMLl
--- End quote ---
Are you saying that with Termux I could take the precompiled file and change the execution rights without being root?
MarkMLl:
--- Quote from: regressist on November 20, 2021, 12:52:33 pm ---Are you saying that with Termux I could take the precompiled file and change the execution rights without being root?
--- End quote ---
I quoted a message which said that explicitly earlier, and I've previously said that sftp preserved permissions. Why- have you tried it and found it didn't work? >:-)
Sorry to sound like a grouch, but I've got things to do and limited daylight to do them.
I've just checked VERY briefly, and if I run sftp on an Android "Phablet" to get a file from a local PC the *user's* rwx rights are preserved, but the group and other rights are masked out. However I was able to chmod the file to 777 without having to do anything special (i.e. no sudo etc.).
Note that I said VERY briefly there. I'd normally log into the device using ssh so that I had a decent keyboard and screen on the PC, but I need to refresh my memory of how to do it.
Note also that permission handling could possibly be changed by (the Linux kernel that is part of) different versions of Android.
MarkMLl
Navigation
[0] Message Index
[#] Next page
[*] Previous page