answered
2019-07-03 12:37:40 +0200
Two things :
OSMand and SDcard
The applications (like any other android app) should be visible under /home/.android/data/data/net.osmand
.
You should be able to check the for the correct UID/GID there.
According to the Jolla devs, the way the SD card appears to Android apps is in the process of being changed and by the next version 3.1.0 it should have reached target (hopefully ?) That means that the way it worked in the past, the way it works in 3.0.3 and the way it will work in a couple of weeks are all different. Expect to have some hiccups when trying to share storage.
This is mostly due that now, with XA2 and 8.1 Oreo, AOSP is running inside a container (Instead of a Java-like VM like up to 4.4 Kitkat) and doesn't necessarily see the same paths as the main Linux host.
In order to explore inside the container, you need to get a shell inside with (as root, so devel-su
) :
lxc-attach -n aliendalvik /system/bin/sh
By typing mount
on the shell inside theLXC aliendalvik container, I (sometime) see this entry popping up :
/run/media/nemo on /data/media/0/sd type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
So the Sailfish-side directory where the removeable media are mounted (/run/media/nemo
), should show up in /data/media/0/sd
Again, according to what the Jolla official devs have said in chats and blog posts, this is subject to change and we should revisit this in a couple of weeks once 3.1.0 is released.
Native apps
I would actually advise to completely skip the Android problem and go straight for Sailfish Native apps.
- OSM Scout Server (by Rinigus) enables you to run your own local copy of OSM to get maps even offline (and has a simple GUI to download maps)
- Pure Maps (also maintained by Rinigus) is a native map display, that can be set to use your local OSM Scout server, or official Open Street Maps internet servers as a source.
Multiple other apps can also use that local server (e.g. sport tracker Laufhelden).
It's much easier to configure to use SD cards (being a native app).