open cpn on android

Joined
23 Dec 2014
Messages
246
Visit site
had it working OK on my tablet but then had to reformat the tablet to get rid of a lot of junk and speed it up. re-installed open cpn and copied across my chart files but I cant get the program to see the charts despite going into settings and pointing the program at the right directory..

help please
 
Try configuring chart location in right hand dropdown menu.
Failing that, edit opencpn.conf which lives in
/Android/data/org.opencpn.opencpn/files
to reflect the location of your charts.

Thanks your Ladyship. But where on my tablet do I type in " /Android / data ....." etc? Is there a terminal as such?
 
Thanks your Ladyship. But where on my tablet do I type in " /Android / data ....." etc? Is there a terminal as such?

You need a file explorer to find and open the config file as described by LiB. If you don't have one, download the app ES File Explorer from GooglePlay as it's the best free one.

You then use it just like a file explorer on Windows.

Richard
 
Sorry, should have said.
As Richard says, ES File Explorer is what you need.
And
configuring chart location in right hand dropdown menu.
at the bottom of the list select
OpenCPN Settings - Charts - Chart Files
It will show the Current Chart Directory.
If your charts are on an external SD card, as mine are, it should show something like: /storage/extSdCard/CMap.
At the bottom of the screen is an Add button to type in another path, then select Remove to remove the invalid path that it initially showed.

ES File Explorer will show you how it sees the path to your charts and it has an edit function if you want to go down the route of editing opencpn.conf

 
Im struggling with this and it seems to be a file location issue, but I cant spot it.

If I use file explorer I can locate the chart files at device>storage>emulated>0>Download>cm93
files shown as 746mb so something there

if I check on open cpn the chart location I have input is /storage/emulated>0>Download/cm93

if I use es file explorer I see in the config file that the location is specified as /storage/emulated/0/Download/cm93^

the only difference I can see is the ^ at the end.

running android 5.1.1
 
Which version of opencpn are you using?
Just noticed that 1.0.12 has a much better chart file selection than I remember, it can see the external card as 123-4567 now.
Maybe worth an update app and try in there?
 
I'll be damned if I can find a version number for the app. It should be up to date - it was a very recent download.

Just uninstalled and re-installed Open cpn from the google store - no change
 
Last edited:
I'll be damned if I can find a version number for the app. It should be up to date - it was a very recent download.

Just uninstalled and re-installed Open cpn from the google store - no change

Use file explorer to move the chart files to a new folder called CM93 either in the root directory of the device or, ideally, on an SD card if you have one installed. Then fire up OpenCPN and point it at the new folder and use any "refresh database" options which are available.

Richard
 
made no difference. when I tried to do a chart database rebuild a greyed out box appeared with a dialog for time etc but nothing happened.

there is no external sd card available on the tablet. all the memory is internal. the file structure / tree seems far from clear to me. For example the first path >local shows both a file labelled storage and one labelled sdcard. sdcard contains cm93 but then storgae has sdcard0 which again shows cm93, and it also has emulated which if you follow it through gets you to cm93 again. They all seem to be routes to the same file.
 
made no difference. when I tried to do a chart database rebuild a greyed out box appeared with a dialog for time etc but nothing happened.

there is no external sd card available on the tablet. all the memory is internal. the file structure / tree seems far from clear to me. For example the first path >local shows both a file labelled storage and one labelled sdcard. sdcard contains cm93 but then storgae has sdcard0 which again shows cm93, and it also has emulated which if you follow it through gets you to cm93 again. They all seem to be routes to the same file.

There is no SD card in the tablet's SD card slot (assuming it has one) but there is an entry in ES File Explorer for SD card and it has a folder called CM93? It doesn't seem to make sense. :confused:

This is a screenshot of my tablet showing the root directories using ES file explorer.

Screenshot_20170211-213142.png


You can see on the right that I have an SD Card installed which is 14% full plus the Internal Storage which is 74% full. On the left I have expanded Local to show the various local directories which include Internal Storage and SD Card again, but if you tap these you get to the same list of directories as if you tap the same directory names on the right hand side.

If I tap either SD Card entry I see a directory which I created called CM93 which has the charts in it. If I don't have an SD card inserted then the entries for SD card are not present.

Is yours not the same?

Richard
 
There is no SD card in the tablet's SD card slot (assuming it has one) but there is an entry in ES File Explorer for SD card and it has a folder called CM93? It doesn't seem to make sense. :confused:

Android actually calls the internal storage area "sdcard"

http://www.stevesandroidguide.com/android-files/

"The sdcard partition is the main storage area for user data and files. It also contains App settings and data.

The sdcard partition exists even though you may not have an external sd card.


It is the internal partition."


sdcardinfilesystem.jpg



Howard, you could try downloading some tide kap files to another location and see if they work:
http://montymariner.co.uk/channel-kap/

Just in case something bad has happened to the cm93 directory.
 
Thanks RichardS. GHA is right. My nexus 10 tablet doesnt have an sd card slot at all so in the image you posted the sd card bit is missing. But it does have two internal directories so if I tap on "device" I get a list of directories including one labelled "sd card" and one labelled "storage". The CM93 directory is in the one labelled sd card.

However if I tap on the one labelled storage and then follow it down through emulated >0 I again find CM93.

And to confuse me further, if I tap storage and then sdcard0 I again get to CM93.

Given that the open cpn program doesnt seem able to compile the cm93 files I think I will scrub the CM93 and re-install.
 
Android actually calls the internal storage area "sdcard"

Not with my Sony and ES File Explorer it doesn't. If I take out the SD card then "SD Card" does not appear in the root directory view.

"Internal Storage" and "SD Card" take me to totally different partition/directory/file listings.

See screen shot. :)

Richard
 
Last edited:
Not with my Sony and ES File Explorer it doesn't. If I take out the SD card then "SD Card" does not appear in the root directory view.

"Internal Storage" and "SD Card" take me to totally different partition/directory/file listings.

See screen shot. :)

Richard

That's not actually the root directory, Look in Local-Device and you''ll see it. Contents are the same as storage/emulated/0

ES calls it "internal storage" by the looks of things.



i15hzAZ.png
 
made no difference. when I tried to do a chart database rebuild a greyed out box appeared with a dialog for time etc but nothing happened.

there is no external sd card available on the tablet. all the memory is internal. the file structure / tree seems far from clear to me. For example the first path >local shows both a file labelled storage and one labelled sdcard. sdcard contains cm93 but then storgae has sdcard0 which again shows cm93, and it also has emulated which if you follow it through gets you to cm93 again. They all seem to be routes to the same file.

In opencpn setup it might be worth trying..

sdcard>Download>cm93
instead of
storage>emulated>0>Download>cm93
 
That's not actually the root directory, Look in Local-Device and you''ll see it. Contents are the same as storage/emulated/0

ES calls it "internal storage" by the looks of things.

Agreed! Forget the root directory .... "Internal storage" is internal storage and "SD Card" is ..... SD card storage and both contain completely different set of directories and files. :D

Richard
 
Top