Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-09-2015, 23:48   #91
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,968
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by HappySeagull View Post
^ you guys.
What are you talking about? Why are you in the Android Beta thread?
Unless you are all running emulators? Or I am guessing the version numbers of BetaComputer O and Beta Android O are the same?
Happy...
We are talking about the same code and that 4.1.818 shall still be fully usable on all environment. So I'm testing backward compatibility. - Right?
Håkan
__________________

__________________
Hakan is offline   Reply With Quote
Old 08-09-2015, 02:06   #92
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by Hakan View Post
Happy...
We are talking about the same code and that 4.1.818 shall still be fully usable on all environment. So I'm testing backward compatibility. - Right?
Håkan
I vote for splitting the code into a computer part and an Android part.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 08-09-2015, 02:26   #93
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,968
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by CarCode View Post
I vote for splitting the code into a computer part and an Android part.
Gerhard
-- And one Google part and one Mac part and one Win part and one GTK part and one RB_pi part and..... I don't agree. Still is the main part of the code equal.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 08-09-2015, 03:47   #94
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by Hakan View Post
-- And one Google part and one Mac part and one Win part and one GTK part and one RB_pi part and..... I don't agree. Still is the main part of the code equal.
Håkan
Please read the code first...
Gerhard
__________________
CarCode is offline   Reply With Quote
Old 08-09-2015, 07:19   #95
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN for Android Beta test 4.1.818

Gerhard...

We are working, however slowly, to move platform dependencies over to the OCPNPlatform class, so that the core code can remain somewhat pure of numerous #ifdefs. The result will be imperfect, of course, but at least easier to read.

Its a work in process, lots to be done. But we think of it everytime a new feature is added, or special case for Android.

And honestly, we don't much care how ugly the git repo history looks. Its the resulting code that counts.

Of course, help in the nature of Pull Requests is gratefully accepted.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 08-09-2015, 09:40   #96
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: OpenCPN for Android Beta test 4.1.818

It's not only the hard to read code style, it's also the fact that often commits results in new errors of functions which has been worked before, e.g. the object query window is dead since several weeks.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 08-09-2015, 09:55   #97
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by Hakan View Post
Happy...
We are talking about the same code and that 4.1.818 shall still be fully usable on all environment. So I'm testing backward compatibility. - Right?
Håkan
Thanks,Hakan.
a.k.a. "The Unified Field Theory". I was wondering...
__________________
HappySeagull is offline   Reply With Quote
Old 09-09-2015, 11:58   #98
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 233
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by tom_BigSpeedy View Post


3) I cannot switch from CM93.2 to BSB raster charts anymore. Whenever I move the mouse over the (correctly visible) chartbar it disappears. No chance to click ...
With the latest (yesterdays) commits, the behaviour changed for me.
As soon as I resize the O main window (click and drag the frame) I see the chart bar. It shows the symbols for BSB and CM93.2. As soon as I move the mouse into the O window, the chart bar disappears.
But I can click (as to say : blind) at the positions where the chart bar symbols were visible before, and wonder oh wonder, charts are changing as expected.

So it's an issue of displaying the chart bar ...
No change wether OpenGL on or off

Colour of currently running track still wrong.

VC2013, Win7, 64bit, compile release ...

Thomas
__________________
tom_BigSpeedy is offline   Reply With Quote
Old 09-09-2015, 15:04   #99
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,824
Re: OpenCPN for Android Beta test 4.1.818

I can reproduce this problem by cross compiling opencpn with mingw and running it in wine.

This means I can quite easily fix the problem, but the real issue for me is I have too many open pull requests already, so I am currently only developing plugins. I really need to push the mingw stuff as it's impossible for me to fix windows specific problems without it.
__________________
boat_alexandra is offline   Reply With Quote
Old 09-09-2015, 18:22   #100
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN for Android Beta test 4.1.818

Thomas/Sean...

I just pushed a quick fix for the disappearing chartbar in DC mode. As written, we don't get the advantage of not having to render charts under the chartbar, and we render the bar on every frame paint. So, no real performance improvement yet in DC mode.

A better way would be to cache a bitmap of the (opaque) chartbar, update that cache on chartbar changes, and simply blit the cached bitmap to screen as required. Cleaner logic, I think, with less region calculations.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 10-09-2015, 10:27   #101
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,824
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by bdbcat View Post
Thomas/Sean...

I just pushed a quick fix for the disappearing chartbar in DC mode. As written, we don't get the advantage of not having to render charts under the chartbar, and we render the bar on every frame paint. So, no real performance improvement yet in DC mode.
This is great for now, eventually we will get it right.
Quote:
A better way would be to cache a bitmap of the (opaque) chartbar, update that cache on chartbar changes, and simply blit the cached bitmap to screen as required. Cleaner logic, I think, with less region calculations.

Dave

I tried already both ways, it's really not a problem to render the rectangles, and in most cases it's faster, and either way it makes no difference for performance (I profiled it) and it's simpler to not have an extra cache bitmap.
__________________
boat_alexandra is offline   Reply With Quote
Old 11-09-2015, 00:49   #102
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 233
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by bdbcat View Post
Thomas/Sean...

I just pushed a quick fix for the disappearing chartbar in DC mode.
Dave
Dave,
I just compiled latest commits under VC2013, Win7 and gave it a try.

Chart switching and chartbar behaviour works fine for me now.

Thomas
__________________
tom_BigSpeedy is offline   Reply With Quote
Old 21-09-2015, 11:36   #103
Registered User

Join Date: Feb 2012
Posts: 1
Wink Re: OpenCPN for Android Beta test 4.1.818

Hi all, GREAT WORK :-) ... I have successfully installed this application on a Samsung Tab 7 Note 10.1 and Tab 8.4 all running KitKat and all seems well with CM93 charts, I have also installed it on a Samsung Note 3 and S5 both running Lollipop after initial GPS location the programme seems to lock up and won't update from the GPS:-( I thought I saw somewhere an updated APK version 4.1.9??? is this still about?
Regards
Niel
__________________
Cat-Man-Do is offline   Reply With Quote
Old 21-09-2015, 12:32   #104
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,769
Re: OpenCPN for Android Beta test 4.1.818

There is a production version out as an official Android App:

https://play.google.com/store/apps/d...pencpn.opencpn
__________________
bcn is online now   Reply With Quote
Old 21-09-2015, 14:27   #105
Marine Service Provider
 
OceanSeaSpray's Avatar

Join Date: Aug 2013
Location: New Zealand
Boat: Custom 13m aluminium sloop
Posts: 416
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by Cat-Man-Do View Post
...
I have also installed it on a Samsung Note 3 and S5 both running Lollipop after initial GPS location the programme seems to lock up and won't update from the GPS
...
Regards
Niel
This is interesting as it has also been the behaviour on the Galaxy S4. However it only locks up if speed is involved and the vessel's position is within the plotting area. Acquiring a static fix is ok on the S4.

Eric
__________________

__________________
"The case for elimination: the only equipment that never needs maintenance and never breaks down is the one you don't have on board."
OceanSeaSpray 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 Beta test 4.1.718 bdbcat OpenCPN 261 30-09-2016 02:00
OpenCPN for Android Beta test 4.1.705 bdbcat OpenCPN 79 25-07-2015 15:14
OpenCPN for Android Beta test 4.1.630 bdbcat OpenCPN 89 11-07-2015 02:39



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:44.


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.