Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 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
Attached Thumbnails
Click image for larger version

Name:	OTCurrent_problem_Android14.png
Views:	28
Size:	77.1 KB
ID:	298054  
Roel Smidt is offline   Reply With Quote
Old 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.
Hakan is offline   Reply With Quote
Old 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
Attached Thumbnails
Click image for larger version

Name:	Dasboard-pi-resize.png
Views:	6
Size:	55.6 KB
ID:	298072  
Roel Smidt is offline   Reply With Quote
Old 27-01-2025, 01:39   #4
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 505
Re: Plugin-windows not resizable in Android14

Quote:
Originally Posted by Roel Smidt View Post

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
AISEAG is offline   Reply With Quote
Old 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
Roel Smidt is offline   Reply With Quote
Old 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
Rasbats is online now   Reply With Quote
Old 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 View Post
...
...

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.
Roel Smidt is offline   Reply With Quote
Old 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
Hakan is offline   Reply With Quote
Old 01-02-2025, 14:37   #9
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 2,020
Images: 1
Re: Plugin-windows not resizable in Android14

Quote:
Originally Posted by Hakan View Post
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.
sv_pelagia is offline   Reply With Quote
Old 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.
Roel Smidt is offline   Reply With Quote
Old 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
Hakan is offline   Reply With Quote
Old 02-02-2025, 09:07   #12
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 2,020
Images: 1
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.
sv_pelagia is offline   Reply With Quote
Old 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 View Post
... 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).
Roel Smidt is offline   Reply With Quote
Old 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
Rasbats is online now   Reply With Quote
Old 02-02-2025, 14:01   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,205
Images: 2
Re: Plugin-windows not resizable in Android14

Quote:
Originally Posted by Roel Smidt View Post
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.
rgleason is offline   Reply With Quote
Reply

Tags
plug, plugin, wind

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin Calculator : Windows version ? Gilletarom OpenCPN 5 12-01-2017 05:56
Windows 4 stable and Windows Beta svzephyr44 OpenCPN 0 29-09-2015 11:46
BSB4 plugin chs windows 8.1 Courtship OpenCPN 39 16-07-2014 12:11
Announcement: Plugin download (for Windows only) Netsurfer OpenCPN 2 25-05-2011 08:16
Raytech RNS and Windows 7 and Windows XP kene66 Marine Electronics 2 23-02-2010 15:50

Advertise Here


All times are GMT -7. The time now is 11:17.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.