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

What's actual the best way for android-app sdcard access?

asked 2015-01-04 00:07:34 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-01-04 00:07:34 +0300

woody gravatar image

Hi,

using a 1.1.1.27 phone, I want to give my osmand (Android App) access to ext. sdcard because I've stored tons of maps on the card. Too much for the internal phone memory.

I found (also here in the forum) some hints, how to solve this. e.g.:

https://together.jolla.com/question/1888/add-optional-access-to-external-sd-card-from-android-app/

https://together.jolla.com/question/5755/how-to-let-android-apps-to-write-to-real-sdcard/

http://www.jollatides.com/forums/discussion/153/symbolic-link-to-sdcard-possible/p1

I seems to be an often asked topic, therefore here are some duplicates. Most of them are older than a half year. I often read 'warning', 'deprecated' and so on. I don't want screw up my new phone, just want to get osmand reading/writing the sdcard. In meantime, has the Jolla-team build in a 'official' way to access to sdcard? If not, why? (in osmand-settings I can give a path (/media/sdcard/3906-1CE8/osmand/), but in my case osmand says 'no access'.)

If there is no 'offical' way for android apps to write to sdcard, what actually the easiest an for Sailfish 1.1.1.27 fool proof way to make it work?

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
1

answered 2015-01-04 14:38:50 +0300

foss4ever gravatar image

https://together.jolla.com/question/40802/how-to-format-your-usd-card-to-btrfs-and-share-space-with-android/

edit flag offensive delete publish link more

Comments

this would not help when SD has to be connected to PC. btrfs only works on linux, and sadly a fat formatted card is the only way to load things on jolla.

magullo ( 2015-01-04 16:59:59 +0300 )edit

I put a ext4 formatted sdcard from my old android phone into my Jolly. I can access via USB/MTP everything on the card. Shouldn't be a promlem with win8.

woody ( 2015-01-04 18:00:11 +0300 )edit

@woody not so easy, take a look at threads for osx and windows.

magullo ( 2015-01-04 18:09:08 +0300 )edit

The question was about best way to use SD card in Jolla (Android and SailfoshOS). If the catd is moved from the phone to PC then in Linux OS desktops btrfs and ext4 /3/2 work automatically. However, if you want to use proprietary filesystems or operating system then VFAT et.al is the only compatible filesystem currenrly that works in most OS:es.

foss4ever ( 2015-01-04 18:27:42 +0300 )edit
1

answered 2015-01-04 17:32:01 +0300

Holger gravatar image

updated 2015-01-04 17:38:38 +0300

I have it running with Osmand 1.8.3: maps are on my vfat formatted external sdcard. And all works fine here. I just followed the way described within the Osmand internal tips and tricks FAQ. OS is 1.1.1.27. Edit: Additonal info: I first installed osmand with maps in internal memory, and then moved the "osmand" directory to the ext. card.

edit flag offensive delete publish link more

Comments

Can you provide a link for ' Osmand internal tips and tricks FAQ'? Would be great. Have done a short search, but don't know, what topic and webpage was helpful. I try to move the folder in some hours, I'm unforunately actually busy...

woody ( 2015-01-04 18:06:56 +0300 )edit

@woody I think @Holger means the FAQ inside the app. Start osmand and choose maps. Go to menu (button in the lower left corner) - help - FAQ. Hope that will be helpfully. Have a nice trip ;)

silta ( 2015-01-04 20:25:00 +0300 )edit

Yes, exactly as silta wrote. But I have also found the FAQ on the web: http://osmandapp.github.io/faq.html

Holger ( 2015-01-04 21:46:21 +0300 )edit
1

THX for link and hints, but they doesn't help. I have no more ideas: I understood the osmand FAQ and guess what to do with osmand. But the general problem is, that my android apps (not only osmand) have no write access. I downloaded a android file manager, navigated it to /home/nemo/android_storage. There I could create a file and a directory, and listed them via ssh to see the owner/group:

[nemo@Jolla Music]$ ls -l
total 0
drwxrwxr-x 1 root nemo 0 Jan  4 23:26 DirectoryCreatedByAndroidApp
-rw-rw-r-- 1 root nemo 0 Jan  4 23:27 FileCreatedByAndroidApp

Then I tried to do the same in the /media/sdcard/3906-1CE8 folder. Nothing happed. So I will follow now the link from the prevous answer.

Anyway...I still don't understand why the alien-davlik permits the access to sdcard. What's the sense?

woody ( 2015-01-05 00:48:08 +0300 )edit
Login/Signup to Answer

Question tools

Follow
6 followers

Stats

Asked: 2015-01-04 00:07:34 +0300

Seen: 2,650 times

Last updated: Jan 04 '15