-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to access SDCard on Chromebook. #506
Comments
I will be appreciated if there is any information on this |
I had to create the symlink manually. ( |
then i think it might need google to expose the visibility of sdcard |
This comment was marked as spam.
This comment was marked as spam.
I believe Termux needs a code change as indicated on this Chromium issue concerning how ARC has implemented the storage access API. I think the relevant API implementation that is needed would be the removable storage API. |
@timnolte, that appears to be for Java only. Native binary applications wouldn't be able to use it without some kind of wrapper that runs Java code, which would probably be slow... That's why we don't use the normal access framework for Android. |
@Quasic I'll be honest I've done zero Android development but I don't understand how your statement makes any sense. Just looking at the GitHub repo and the Termux source code is Java. Regardless the issue is that on a Chromebook SD Cards are accessed differently. The /sdcard location is not really and SD card storage location at all on a Chromebook. |
yes, i have tried according to the wiki page. it seems chromeos doesnt
expose sdcard as normal andoird device.
…On Mon, Jan 1, 2018 at 7:41 PM S D Rausty ***@***.***> wrote:
@liuchang0920 <https://github.com/liuchang0920> Are you familiar with
https://termux.com/storage.html this information about setting up storage
in Termux? Ensure that storage permission is granted for the app.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#506 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVCqyL098cK2AE2Wyn2AddhT2lLPrVq0ks5tGYlWgaJpZM4RBFgY>
.
|
@timnolte, the SDcard issue has been confusing since #20. Only recently could an app be written in non-Java. (A Java wrapper was required, which could load other code, as termux does.) Very few of the commands in termux are written in Java, and these have to use the old dalvikvm, used by KitKat. The package sources can be found by following the packages repo. On my phone, /sdcard points to internal storage, so idk why it has that name except for historical reasons. |
Thanks for this great product.
It seems that on chromebook, the SDCard is mounted in the path: ///_SDCard. And by executing "termux-setup-storage" still could not able to find the path to sdcard.
Is this a constraint that chromeos forces? If so, this feature would only available when there is updates on chromeos then.
Thanks.
The text was updated successfully, but these errors were encountered: