 |
|
26-01-2025, 06:25
|
#1
|
Registered User
Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 156
|
Plugin-windows not resizable in Android14
Maybe this is not the right place to drop this, but I encounter problems with a few plugins on my smartphone(s) running Android 12 & 14. For instance the plugin OTCURRENT v4.4.0.
The problem is that I cannot set the map where the plugin should look for the data. The window is too small to show all the buttons. See attached screenshot.
A similar problem happens with ShipDriver 3.3.0
Sadly I also found it absolutely impossible to copy the file opencpn.conf from it's location in Android14 (/storage/emulated/0/Android/data/org.opencpn.opencpn/files/opencpn.conf) to any other location in order to edit or save it. I think this is a serious problem (Google/Android to be blamed, not OpenCPN).
Best regards,
Roel
|
|
|
26-01-2025, 14:51
|
#2
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,430
|
Re: Plugin-windows not resizable in Android14
To handle app's files on A11 and up is not made to be easy for the users. The easiest way is to connect it by a USB cable to a PC and copy/past as for a memory stick.
I can agree some plugins, like Shipdriver, are not suitable on a small phone. Without being involved I can assume it's hard to set a dialog size to be both easy to handle and not cover most of the chart canvas.
|
|
|
27-01-2025, 01:03
|
#3
|
Registered User
Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 156
|
Re: Plugin-windows not resizable in Android14
Thanks for your reaction Hakan,
I should have mentioned that I also tried copying opencpn.conf via a USB-connection between the smartphone and my PC. Did not succeed. I get a ' libmtp error'. Btw: I'm using Linux on the PC, no MSWindows.
When it comes to the plugin-problems, I think what is needed, is a way to resize the plugin-window the same way as with the Dashboard-plugin.
Maybe this is something for Mike (Rossiter)?
Roel
|
|
|
27-01-2025, 01:39
|
#4
|
Registered User
Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 505
|
Re: Plugin-windows not resizable in Android14
Quote:
Originally Posted by Roel Smidt
When it comes to the plugin-problems, I think what is needed, is a way to resize the plugin-window the same way as with the Dashboard-plugin.
Maybe this is something for Mike (Rossiter)?
Roel
|
That is exactly what I was try to explain in my post concerning "FR-Currents plugin", the harmonic file is all ready on the computer but I cannot tell the system where this file is.
Serge
|
|
|
27-01-2025, 05:56
|
#5
|
Registered User
Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 156
|
Re: Plugin-windows not resizable in Android14
Merci Serge,
I just found the thread & post you are referring to and I posted a message with a link to this thread (as it seems to be a problem that is similar in frcurrents_pi and OTcurrents_pi). Hope Mike can solve this.
Roel
|
|
|
01-02-2025, 09:43
|
#6
|
Registered User
Join Date: May 2012
Posts: 1,274
|
Re: Plugin-windows not resizable in Android14
Unfortunately Dashboard_pi uses an auiManager. Other plugins apart from ocpn_draw_pi do not.
I have finally got access to Android (10) opencpn.conf using "Solid Explorer". Setting CatalogExpert=1 brings up the "Import Plugin" option but this did not work with frcurrents_pi.
For testing I am using the BlueStacks emulator. If you want to try this I have a new alpha for Android here:
https://cloudsmith.io/~opencpn/repos...lpha/packages/
The latest (Android 1524/1532) has a hard-coded dirPicker size(400,400).
I will make a Beta soon.
Mike
|
|
|
01-02-2025, 11:36
|
#7
|
Registered User
Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 156
|
Re: Plugin-windows not resizable in Android14
Quote:
Originally Posted by Rasbats
...
...
I have finally got access to Android (10) opencpn.conf using "Solid Explorer"...
...
|
Good that you got access, but my experience is that from Android 12 upwards it is absolutely impossible to open opencpn.conf or to copy that file to another location (or your desktop PC), let alone edit it. Absolutely horrible  .
Makes me want to dump my fancy smartphone and search for an 'old' Android phone just to run OpenCPN.
|
|
|
01-02-2025, 14:34
|
#8
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,430
|
Re: Plugin-windows not resizable in Android14
I find it easy to use a USB cable to transfer files to/from a PC. Be sure you have enabled "File transfer" as advised here
|
|
|
01-02-2025, 14:37
|
#9
|
Registered User
Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 2,020
|
Re: Plugin-windows not resizable in Android14
Quote:
Originally Posted by Hakan
I find it easy to use a USB cable to transfer files to/from a PC. Be sure you have enabled "File transfer" as advised here
|
me too
both Android 13 and Android 14.
|
|
|
02-02-2025, 01:25
|
#10
|
Registered User
Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 156
|
Re: Plugin-windows not resizable in Android14
Hakan & SV_Pelagia,
Please try to copy the file opencpn.config from your Android 14 to another location (like your PC or a USB-stick) and see if the copied file is the same size as the original or 'empty' (0 b).
It's only that specific file opencpn.config that I cannot edit or copy. Other files (like navobj.xlm) are no problem.
|
|
|
02-02-2025, 02:25
|
#11
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,430
|
Re: Plugin-windows not resizable in Android14
Roel..
Sorry I haven't tried to copy the config file on my A14. I agree it don't work.
I also tried adb and that file seems locked.
Hmm ?
Code:
C:\adb>adb pull storage/emulated/0/Android/data/org.opencpn.opencpn/files/opencpn.conf C:\Builds\OCPN\Android\A14
adb: error: failed to copy 'storage/emulated/0/Android/data/org.opencpn.opencpn/files/opencpn.conf' to 'C:\Builds\OCPN\Android\A14\opencpn.conf': remote open failed: Permission denied
|
|
|
02-02-2025, 09:07
|
#12
|
Registered User
Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 2,020
|
Re: Plugin-windows not resizable in Android14
Sorry, away from PC for a few days. Similarly, I've never had a reason to copy the config file.
|
|
|
02-02-2025, 11:58
|
#13
|
Registered User
Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 156
|
Re: Plugin-windows not resizable in Android14
Quote:
Originally Posted by Roel Smidt
... my experience is that from Android 12 upwards it is absolutely impossible to open opencpn.conf or to copy that file to another location (or your desktop PC), let alone edit it....
|
Well, I did succeed on a smartphone running Android 12 using a USB-cable + Shizuku+FV File Explorer.
But no success on a phone running Android 14. Could copy opencpn.config but the result was an empty file (0 b).
|
|
|
02-02-2025, 13:37
|
#14
|
Registered User
Join Date: May 2012
Posts: 1,274
|
Re: Plugin-windows not resizable in Android14
Ok ... with help from Dave the directory dialog for finding the Harmonics directory can now be made full screen for frcurrents_pi. Code for "OnSelectData" is here:
https://github.com/Rasbats/frcurrents_pi/blob/main/src/frcurrentsUIDialog.cpp
With the existing catalog version the plugin dialog can be resized with a double left click. This makes a menu "Resize". Then drag from top left of the plugin dialog down and to the right. Bit flaky but possible.
Making frcurrents_pi v1.14.0 in the next day or two.
Mike
|
|
|
02-02-2025, 14:01
|
#15
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,205
|
Re: Plugin-windows not resizable in Android14
Quote:
Originally Posted by Roel Smidt
Well, I did succeed on a smartphone running Android 12 using a USB-cable + Shizuku+FV File Explorer.
But no success on a phone running Android 14. Could copy opencpn.config but the result was an empty file (0 b).
|
Roel, I agree the best and easiest way I've found is to use a USB cable to your PC and access the directory with Windows Explorer or similar.
|
|
|
 |
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|