Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-06-2015, 11:42   #1
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
OpenCPN for Android Beta test 4.1.630

Hello testers...

The 4.1.630 Beta Test release of OpenCPN for Android is available for download now.
https://www.dropbox.com/s/c9585422rb...1.630.apk?dl=0

Changelog:
5. Improve RouteManagerDialog sizing and rotation behaviour. (FS#1757, FS#1755)
16. Correct crash using the "back" button on dialogs (FS#1756)
17. Implement new "Basic/Expert" setting dialogs.
18. Implement ActionBar with persistent icons, menus, and chart type switching actions.
19. Implement improved FileChooser dialogs.
20. Improve and harmonize data storage options to be consistent with Android standards.
Now on /mnt/sdcard/opencpn....Where to ?

21. Correct action of navigation console screen (FS#1759)
22. Correct navobj update policy to avoid orphan waypoint artifacts. (FS#1788)
23. Correct application shutdown logic to properly restore position/scale on next restart(FS#1786)
24. Correct restart logic after screen sleep. (FS#1803)
25. Implement GPS support for device without NMEA capability.


Release Notes:
17/18. This is important. We have introduced a "Basic/Expert" modality to the UI. "Expert" mode is what you expect to see on Desktop OCPN, with full configurability through the traditional OCPN settings dialog tree.

"Basic" mode is the default (i.e. new-install) mode for Android.

Basic mode contains the following:
a. No traditional OCPN toolbar. Completely invisible.
b. Simplified context menus, for easier access to common functions..

Along with both of these modes comes the new, Android-standard "ActionBar". The Action bar and its associated "overflow menu" allows access to a few common UI actions (MOB, Auto-follow, Create Route, etc.). It also allows fast switching between raster and vector chart type.

The new ActionBar menu item of most interest is the "Android-ified" OCPN settings activity. This activity is a simplified version of the standard OCPN settings dialog tree, encompassing again the most often required configuration changes. This is also where one enables/disables "Expert" mode.

The ActionBar is always enabled, and cannot be disabled. It is the "anchor point" for modern Android apps.

So, one thing we wish to learn from testing is this:
"Have we added the correct actions to the ActionBar/menu/OCPN Settings activity to allow functional utility for beginners and experienced daily users in Basic mode, without showing the OCPN toolbar?"

We can add more things to the settings and menu list. But the idea is to be non-intimidating to a new user, while being useful and non-frustrating to experienced users such as the Beta test group. Comments solicited here. I encourage you to spend some time in Basic mode, and find out what works and doesn't.

19. A new file chooser dialog, Android-style, with a more human sized interface. No more confetti. This interface is used for all file/directory picking actions.

20. More thoughts on data storage. What this Beta does is this:
a. Uses the private, inaccessible Android internal file structure for all "static" OCPN items, like the app itself, all resources like bitmaps, GSHHS database, etc. Also in the internal file system are the various cache files, like SENC files, Raster texture caches, etc.
b. Uses the fixed directory "/mnt/sdcard/opencpn" for all dynamic user data, including logfiles, config files, navobj.xml, and chartlist.dat.

The reason we choose this arrangement is so that upgrading OA will not destroy all the user's collected data like tracks, routes, etc. This data of course must survive across upgrades, without tedious export/import options required. We especially did not choose the recommended "/mnt/sdcard/Android/data/org.opencpn.opencp" directory for persistent user data, because this data will be destroyed when the app is updated.

Unfortunately, this strategy means that the Android system settings option "App->Clear Data" will not actually clear all OCPN data from the device. This may be inconvenient, but I see no other solution given the Android philosophy of app isolation and neophyte user paranoia.

If your device allows it, the app may be "moved to SDCARD". However, on most modern devices, this will not allow an un-rooted user to access the OCPN static data, so there is no real functional advantage to be gained. It simply reduces the the amount of device internal storage space consumed by OCPN. The dynamic user data is still at "/mnt/sdcard/opencpn".

Finally, you may add UserIcons and layers to the "/mnt/sdcard/opencpn" directory, and they will be recognized on load.

Hackers please note: If you want to manually edit the "opencon.conf" file. you must make sure that OA is not actually running in the background, else your changes will be overwritten. Simple way to be sure is to go to AndroidSettings->Apps->OpenCPN->ForceStop.....




Please check and clear your Flyspray tasks for the OA Beta, if possible.

Thanks in advance for all your valuable feedback.
Good luck
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 12:04   #2
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: OpenCPN for Android Beta test 4.1.630

Last version was running just fine on my SAMSUNG gt-s7710 - Android 4.1.2

After installing the new version, O just give the error message: "Opencpn has stopper working" when trying to start the applicacton. Tried to start O many times and also rebooted the phone - no sucess.
__________________

__________________
petter5 is offline   Reply With Quote
Old 30-06-2015, 12:10   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN for Android Beta test 4.1.630

petter5...

Can you check the logfile manually?

Code:
/mnt/sdcard/opencpn/opencpn.log
Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 12:13   #4
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: OpenCPN for Android Beta test 4.1.630

2015-06-30
------- Starting OpenCPN -------
Version 4.1.630 Build 2015-06-30
wxWidgets version: wxWidgets 3.1.0 Unknown 32 bit wxQT
MemoryStatus: mem_total: 100 mb, mem_initial: 50 mb
SData_Locn is /data/data/org.opencpn.opencpn/files/
Loaded Qt Stylesheet: /data/data/org.opencpn.opencpn/files/styles/qtstylesheet.qss
PrivateDataDir is /mnt/sdcard/opencpn
Creating new Config_File: /mnt/sdcard/opencpn/opencpn.conf
Setting Viewpoint Lat/Lon 33.358, -79.282
Setting Ownship Lat/Lon 33.358, -79.282
Styles loading from /data/data/org.opencpn.opencpn/files/uidata/styles.xml
No styles found at: /data/data/org.opencpn.opencpn/files/
No styles found at: /data/data/org.opencpn.opencpn/files/.opencpn/
Metrics:160,421051;1,500000;240;480;762;480;800;48 0;800;0;27,000000
wxGetDisplaySize(): 480 800
Android Auto Display Size (mm, est.): 127
Detected display size (horizontal): 127 mm
wxLocale support not available
__________________
petter5 is offline   Reply With Quote
Old 30-06-2015, 12:15   #5
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN for Android Beta test 4.1.630

Good news is the GPS appears to work on non-nmea Xoom.

Bad news. Depth does not display until zoomed pretty far in. CM93 vector text does not display when toggled.

More Bad news. Enabling tides rendered everything else non-functional. Could not zoom in on chart, only ownship 'position' displays at screen center, not ownship icon. No chart...

Will restart & report if any change.
__________________
Wrong is offline   Reply With Quote
Old 30-06-2015, 12:36   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN for Android Beta test 4.1.630

petter5...

Please try to delete:

/mnt/sdcard/opencpn/opencpn.conf

Then restart opencpn

Also, do you see the introduction screen with "Welcome to OpenCPN..." in this case?

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 12:37   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN for Android Beta test 4.1.630

Wrong...

I see no problems with ENC text nor Tides on my test devices and emulators, with charts loaded. Anything funny in the log?

Anyone else seeing trouble with ENC text or tides?

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 12:47   #8
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: OpenCPN for Android Beta test 4.1.630

Quote:
Originally Posted by bdbcat View Post
petter5...

Please try to delete:

/mnt/sdcard/opencpn/opencpn.conf

Then restart opencpn

Also, do you see the introduction screen with "Welcome to OpenCPN..." in this case?

Thanks
Dave
Something is going wrong with the instalation,,,,

The Opencpn folder is located /storage/sdcard0/opencpn
but the folder contains no files except for the logfile i posted earlier. I has tried to install one more time, with the same result,,,
__________________
petter5 is offline   Reply With Quote
Old 30-06-2015, 12:54   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN for Android Beta test 4.1.630

petter5...

Did you see the "Welcome.." screen?

And you see nothing at
/mnt/sdcard/opencpn/opencpn.conf ??
or
/storage/sdcard0/opencpn/opencpn.conf

Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 12:58   #10
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: OpenCPN for Android Beta test 4.1.630

Dave:
no - only "opencpn has stopped" and "ok"
__________________
petter5 is offline   Reply With Quote
Old 30-06-2015, 13:01   #11
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN for Android Beta test 4.1.630

Quote:
Originally Posted by bdbcat View Post
Wrong...

I see no problems with ENC text nor Tides on my test devices and emulators, with charts loaded. Anything funny in the log?

Anyone else seeing trouble with ENC text or tides?

Thanks
Dave
Dave,

Text does not display on CM93 chart.

Tides and current appear to work on restart.

Too many disabled features to linger in basic mode very long, especially how CM93 charts display. Mariner's standard didn't appear as an option initially...

GPS connection is being dropped at some point. Going into settings>apply>o.k gets it going again though.

One more thing to check and will edit this if doable. Enable scaled graphics worked, making menu smaller which I prefer.
__________________
Wrong is offline   Reply With Quote
Old 30-06-2015, 13:14   #12
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN for Android Beta test 4.1.630

Wrong...

I have now reproduced the problem with Tides display.
To reproduce:
Using cm93, show tides.

At certain zoom levels the screen goes black or grey, and nothing can be done except exit the app. It seems to be a scale problem.....

I will investigate further.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 13:18   #13
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN for Android Beta test 4.1.630

Wrong...

re:
One more thing to check and will edit this if doable. Enable scaled graphics worked, making menu smaller which I prefer.

" Enable scaled graphics " should be enabled by default. Is this true for you?

You can then set the icon size with the GUI scale factor slider in SettingsExpert or SettingsBasic.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2015, 13:47   #14
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN for Android Beta test 4.1.630

[QUOTE=bdbcat;1859239]Wrong...

re:
One more thing to check and will edit this if doable. Enable scaled graphics worked, making menu smaller which I prefer.

Quote:
" Enable scaled graphics " should be enabled by default. Is this true for you?
True. Didn't make myself clear. By disabling "Enable scaled graphics" I achieve the effect I prefer without doing anything else.

Quote:
You can then set the icon size with the GUI scale factor slider in SettingsExpert or SettingsBasic.

Thanks
Dave
__________________
Wrong is offline   Reply With Quote
Old 30-06-2015, 13:49   #15
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN for Android Beta test 4.1.630

Quote:
Originally Posted by bdbcat View Post
Wrong...

I have now reproduced the problem with Tides display.
To reproduce:
Using cm93, show tides.

At certain zoom levels the screen goes black or grey, and nothing can be done except exit the app. It seems to be a scale problem.....

I will investigate further.

Thanks
Dave
Exactly. About the absence of text on CM93 charts?
__________________

__________________
Wrong is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools
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
OpenCPN for Android Beta test 4.1.530 bdbcat OpenCPN 203 07-05-2017 22:20
OpenCPN for Android Alpha test 4.1.409 bdbcat OpenCPN 117 12-10-2015 02:28
OpenCPN for Android Alpha test 4.1.412 bdbcat OpenCPN 120 15-05-2015 13:12
OpenCPN to Android plugin - Beta tester required ! kobold27 Commercial Posts 10 17-04-2013 17:48



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 18:05.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.