Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 10-07-2015, 11:08   #31
Registered User
 
keyspc's Avatar

Join Date: May 2008
Location: hard aground in C.FL
Boat: 34' 1973 Grampian ketch
Posts: 294
Re: OpenCPN for Android Beta test 4.1.705

Installed on LG GPad F LTE (T-Mobile) Installed OK with one exception, I need to change chart location to {/Ext SD/charts/Cuba del Note } from {mnt/sd } i had to move charts from external card to internal emulated? is there an easy fix?
__________________

__________________
http://sailingodat.blogspot.com/ Please click to follow
"If you cant think of anything to be grateful for, list that which you should be grateful for"
keyspc is offline   Reply With Quote
Old 10-07-2015, 14:02   #32
Registered User

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

Hi, a build error report:
Win XP, VC2010, wx-3.0.2:
Code:
ocpndc.cpp
..\src\ocpndc.cpp(677): error C2668: 'sqrt' : ambiguous call to overloaded function
          c:\Program\Microsoft Visual Studio 10.0\VC\include\math.h(589): could be 'long double sqrt(long double)'
          c:\Program\Microsoft Visual Studio 10.0\VC\include\math.h(541): or       'float sqrt(float)'
          c:\Program\Microsoft Visual Studio 10.0\VC\include\math.h(127): or       'double sqrt(double)'
          while trying to match the argument list '(wxCoord)'
Håkan
__________________

__________________
Hakan is online now   Reply With Quote
Old 11-07-2015, 03:00   #33
Registered User

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

Hakan,
see here: OpenCPN Beta test 4.1.602 Release

Gerhard

Meanwhile it was corrected in git:
Quote:
int steps = ceil(sqrt((float)r));
__________________
CarCode is offline   Reply With Quote
Old 11-07-2015, 03:38   #34
Registered User

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

Gerhard.
Thanks for your reply, I'd missed that post.
And Dave.
Thanks for the correction in Github.
Now builds OK also in my ancient system.

Håkan
__________________
Hakan is online now   Reply With Quote
Old 11-07-2015, 08:07   #35
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.705

Quote:
Originally Posted by keyspc View Post
Installed on LG GPad F LTE (T-Mobile) Installed OK with one exception, I need to change chart location to {/Ext SD/charts/Cuba del Note } from {mnt/sd } i had to move charts from external card to internal emulated? is there an easy fix?
I'm able to load charts from external,removeable sd card.

If your tablet is new, you can't get to your extSD from /mnt.... keep tapping the "top folder" in O-A's browsing tree, (it has "..") until you see the " /storage" folder. I find my removeable, external sd in "/storage" as sd1.

see
https://source.android.com/devices/storage/index.html
for the ahhhh-"explanation"
added: ^ paraphrased is to stop you from installing stuff on a removeable card but still allow you to "look" at stuff on it.
__________________
HappySeagull is offline   Reply With Quote
Old 11-07-2015, 11:23   #36
Registered User
 
keyspc's Avatar

Join Date: May 2008
Location: hard aground in C.FL
Boat: 34' 1973 Grampian ketch
Posts: 294
Re: OpenCPN for Android Beta test 4.1.705

Quote:
Originally Posted by HappySeagull View Post
I'm able to load charts from external,removeable sd card.

If your tablet is new, you can't get to your extSD from /mnt.... keep tapping the "top folder" in O-A's browsing tree, (it has "..") until you see the " /storage" folder. I find my removeable, external sd in "/storage" as sd1.

see
https://source.android.com/devices/storage/index.html
for the ahhhh-"explanation"
added: ^ paraphrased is to stop you from installing stuff on a removeable card but still allow you to "look" at stuff on it.
And that wasn't the fix i was looking for. Tried that upon install.
yet,,, a samsung with kit kat found it out of the box?
__________________
http://sailingodat.blogspot.com/ Please click to follow
"If you cant think of anything to be grateful for, list that which you should be grateful for"
keyspc is offline   Reply With Quote
Old 11-07-2015, 19:37   #37
Registered User
 
keyspc's Avatar

Join Date: May 2008
Location: hard aground in C.FL
Boat: 34' 1973 Grampian ketch
Posts: 294
Re: OpenCPN for Android Beta test 4.1.705

Opps my bad replaced card with known good one and it worked, user error
__________________
http://sailingodat.blogspot.com/ Please click to follow
"If you cant think of anything to be grateful for, list that which you should be grateful for"
keyspc is offline   Reply With Quote
Old 11-07-2015, 20:38   #38
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.705

aha. Thanks for reporting solution.( Been there, done that! ....corrupt cards are the last thing I think of)
__________________
HappySeagull is offline   Reply With Quote
Old 12-07-2015, 01:21   #39
Registered User

Join Date: Jul 2015
Posts: 22
Re: OpenCPN for Android Beta test 4.1.705

Selecting different standards do no fix the behavior of vanishing objects. The other objects fading out (in addition to the sector lights) is sections of a marked passage. Those with arrowheads stay visible everywhere, but those without dissappear when in the upper half of the screen. Portrait or landscape does not make any difference, it's always the upper half.

Antti
__________________
citlab is offline   Reply With Quote
Old 12-07-2015, 10:22   #40
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN for Android Beta test 4.1.705

Is it possible for a beginner like me to compile O from sources for android?

thanks
JP
__________________
Ptizef is offline   Reply With Quote
Old 12-07-2015, 10:41   #41
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN for Android Beta test 4.1.705

Quote:
Originally Posted by Ptizef View Post
Is it possible for a beginner like me to compile O from sources for android?

thanks
JP
JP...
If you have a Linux machine you may sure try. So far I did not manage to succeed, but it was caused by total lack of time more than it not being possible.
Don't expect it to be even close to same simple and documented as the normal Linux build though.

Pavel
__________________
nohal is offline   Reply With Quote
Old 12-07-2015, 16:18   #42
Registered User

Join Date: Aug 2010
Location: San Diego
Boat: Club sailor...Victory 21, Ensign 25, Catalina 25, Lagoon 380, Catalina 290
Posts: 27
Thanks, great tool... How new people can help ?

I've used OpenCPN intermittently for a year or so, want to say it's a great app!

I've been looking for a low power option to run O with high portability for some time. Was seriously considering building an R-Pi2 as an option until I saw this thread.

How can new people help out and contribute to this testing effort ?
__________________
RSkillings is offline   Reply With Quote
Old 13-07-2015, 08:07   #43
Registered User

Join Date: Jul 2015
Posts: 22
Re: OpenCPN for Android Beta test 4.1.705

For a beginner like me, it was possible to compile O on an android tablet in a Debian noroot environment, to get it compiled, installed and working perfectly, including receiving GPS from Android and AIS through android Bluetooth. All this with the help received from this forum.

To make the same on Android, I personally see others doing much better job than I ever could and will look forward for using the resulting native Android app with great enthusiasm.

Antti

Sent from my SGP512 using Cruisers Sailing Forum mobile app
__________________
citlab is offline   Reply With Quote
Old 13-07-2015, 09:16   #44
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: OpenCPN for Android Beta test 4.1.705

Quote:
Originally Posted by Ptizef View Post
Is it possible for a beginner like me to compile O from sources for android?

thanks
JP
It's probably possible to build even under windows or osx, but so far only linux has been used. As far as I know, only myself and Dave has succeeded in building the android apk for opencpn, but as he has taken over the task of android development (I have no actual android device so I was using the emulator) I have not tried to build it since January. It is not exactly easy or straightforward, requires about 5 gigabytes of disk space, and takes a long time. Currently you will have to manually edit several files as well because the paths are hardcoded. It's also not really well documented, and the readme is possibly out of date on some of the steps. If you do succeed please let us know, because then you can start fixing the bugs

You should probably try after all. I didn't think you were a beginner.
__________________
boat_alexandra is offline   Reply With Quote
Old 13-07-2015, 10:15   #45
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: OpenCPN for Android Beta test 4.1.705

On another note, I am looking at possible android tablets as I could really use one. So far I can find many, for example: quad core, mali graphics, 9 inch display for $40, but only 512mb of ram. Since Dave advised that 1gb is needed for opencpn what to do? The 1gb ones cost too much. So can anyone compare their experience between 512mb and 1gb?

Maybe on these devices it's best to run linux instead as it would work fine with 512mb ram. A better option is to make opencpn somehow use less memory, but as it can already run pretty well using 100mb of ram it's crazy that 512 isn't enough, or is it?
__________________

__________________
boat_alexandra 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.630 bdbcat OpenCPN 89 11-07-2015 02:39
OpenCPN to Android plugin - Beta tester required ! kobold27 Commercial Posts 10 17-04-2013 17:48
2004 J80 Hull # 705 For Sale jkirstein Classifieds Archive 3 29-04-2009 16:32



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 02: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.