Android folder structure
Is it possible to use the same folders for Android as for the native apps? E.g. the same folders for pictures, documents etc. would be helpful.
Is it possible to use the same folders for Android as for the native apps? E.g. the same folders for pictures, documents etc. would be helpful.
To expand the answer : it's not technically possible.
TL;DR: they are completely different type of entities
Your Sailfish OS native apps use the classic folders (Pictures, etc.) in your home folder. Depending on your device, that's the @home subvolume of the BTRFS partition (Jolla 1), or the home EXT4 partition (Jolla C, tablets).
i.e.: they are actual real folders on your actual partition.
Meanwhile, alien-dalvik uses a Fuse plugin to make its data (/data) appear (in ~/android_storage) with the fixed access right as a FAT32/exFAT-formated data partition/SDcard would have been showing up on a real android device (i.e.: everything is mapped to be owned by "media_rw" user and group, and has world-access rights ("rwxrwxrwx" / 0777))
i.e.: they are not even an actual folder, it's a virtual tree mounted thanks to a FUSE plugin
The solution would be an awfully complex overlay based mounting.
Or simply just keep the current situation, and use Aliendalvik control by CoDeRuS whenever you need to manipulate a native file with an android app (e.g.: send a picture from the gallery/photo app using whatsapp).
No.
For pictures and music you can use Patch: Tracker path settings Android apps get not full access to the sailfish-files. It is not possible to delete sailfish pictures from android app.
This is probably a bad idea, but you can symlink ~/android_storage/Pictures etc. to your home directory (it doesn't work the other way around) using terminal.
Asked: 2017-10-11 09:16:03 +0200
Seen: 739 times
Last updated: Oct 11 '17