We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

SFOS Nuuksio - Why isn't it possible to save maps, pics, video from Android apps, on SD card?

asked 2020-01-07 23:00:13 +0200

070966 gravatar image

updated 2020-01-09 21:51:18 +0200

olf gravatar image

It's really frustrating to use my Xperia XA2 being careful to install apps as less as possible, and without any possibility to save pics and video (shot with Open Camera or Adavanced Camera) on SD card (ext4 formatted and correctly mounted). This bug has born with Sailfish, ok, but now we are at release 3.2.1 Nuuksio, and years after the release 0.something. I found and old tutorial to bypass this inconvenient, but it seems it doesn't work on SFOS3, anyway, here is the link
https://jollacommunity.it/2015/02/18/salvare-foto-e-video-sulla-scheda-sd-per-impostazione-predefinita/
which links this answer here at TJC as its original source:
https://together.jolla.com/question/17691/camera-cant-store-pictures-to-sd-card/?answer=57101#post-id-57101

Do anyone has a solution?

edit retag flag offensive close delete

Comments

I just made a symlink. Anyways, isn't it up to the app developer?

Tanghus ( 2020-01-08 01:56:01 +0200 )edit
5

@060966:

First off: Your question is barely readable.
Text on TJC is formatted using markdown. use apostrophes `` to type inline code or start code blocks with four spaces.
a new line is only generated if you append two spaces at the end of a line (or you can use HTML <br> tags).

  1. SDCard: sounds like you should make a feature request for Advanced Camera. Native Jolla Camera allows saving to SDCard. so does PureMaps navigation.

  2. As for the Android (?) App OpenCamera: That's a known bug in Android Support already reported multiple times. SD cards are not visible to Android apps.

  3. Do you understand what the Tutorial does?

    • It is way outdated: current mountpoint of SD cards - since quite a few releases of Sailfish - is /run/media/nemo and the gsettings commands are not necessary as these are the default values.
    • About Tracker I'm not a 100 percent sure but I think by default it should index media flies on SD cards as well. Encrypted SD cards are different and AFAIK won't be indexed because they're not automounted.
    • Also the bash script + .desktop file makes no sense to me. Maybe repeatedly deleting and relinking the folders once was necessary but now seems inelegant and even dangerous as it might accidentally delete files.
rozgwi ( 2020-01-08 02:20:20 +0200 )edit
2

Added "from Android apps" to the heading of this post as the problem does not concern Sailfish apps.

jovirkku ( 2020-01-08 08:23:19 +0200 )edit
1

Not really. Advanced Camera is a SF app, but it can't save pics/vids on SD

070966 ( 2020-01-08 23:03:10 +0200 )edit

@rozgwi Sorry if my question is barely readable, my english is non as good as yours is, and regarding the "text on TJC" (btw, what does it mean?) i cpied and pasted it just the way i found it. About your question "Do you understand what the Tutorial does?", of course not. I'm not a computer engineer, nor a programmer. I'm only an ordinary person who would like to be free from the duopoly Android/iOS using an alternative OS, that's all. Obviusly, if this is a mere utopia because Sailfish is far far away to be a OS ready for final users, no problem, i can go back to my Xiaomi with Android Pie in less than a minute. But, i ask, is the policy of Jolla conceived to keep normal users far from its products? I wish it's not.

070966 ( 2020-01-09 00:16:52 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2020-01-08 03:03:06 +0200

olf gravatar image

See section 1 of the "Guide: Externalising android_storage and other directories / files to SD-card".

edit flag offensive delete publish link more

Comments

This does not cover the XA2 he is talking about.

Giacomo Di Giacomo ( 2020-01-08 18:30:23 +0200 )edit

That's not true for aforementioned section 1 "Externalising regular files and directories in /home/nemo", which covers what @070966's "report" tries to achieve.

Only section 2 "Externalising /home/nemo/android_storage" does not support the AOSP8.1 based Android runtime environment ("AlienDalvik") yet. Although apparently working solutions were provided in the comments there, they seem to break when upgrading to SailfishOS 3.2.0 or newer.

But yes, confusingly @070966 asks for a solution for Android apps in the question title, but the question proper is solely about native apps.
Edit: Ah, @jovirkku added the "for Android apps" to the question title later on. IMO, this was not the intention of the OP.

olf ( 2020-01-08 22:35:29 +0200 )edit

@olf@070966: Yes, I added the "for Android apps" to the question title because 1) Sailfish apps can read [e.g. Gallery, Mediaplayer, Documents, FileBrowser] and write the SD card [e.g. Sailfish Camera, FileBrowser] 2) Open Camera is an Android app.
Sorry for the confusion if the post writer intended to cover Sailfish apps, too.

Please note:

If somebody is facing problems, please report all details, including OS version, device model, app names, steps leading to the problem, SD card type and if encrypted. Then it would be easier to help. Thanks.

jovirkku ( 2020-01-20 13:37:10 +0200 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2020-01-07 23:00:13 +0200

Seen: 645 times

Last updated: Jan 09 '20