Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 29-07-2015, 20:02   #121
Registered User
 
Temptress's Avatar

Join Date: Apr 2009
Location: On the sea; Gone saiing
Boat: Jenneau SO 47
Posts: 28
Re: OpenCPN for Android Beta test 4.1.718

So been trying this beta while sailing the last week or so. Using CM93 charts and when the chart detail is set anywhere above the minimum the redraw is so slow O is unusable. Previous build was better here. (Same on Galatx Tab S, Galaxy S6 and Sony Xpehira)


Also tried using a Bluetooth mouse (2 x types to make sure it not the mouse) on the Tab S - can NOT scroll or zoom using the mouse - also delayed reaction when 'clicking'. Only happens in O all other apps are fine with the mouse.
__________________

__________________
Temptress is offline   Reply With Quote
Old 30-07-2015, 02:36   #122
Registered User

Join Date: Jul 2015
Posts: 4
Re: OpenCPN for Android Beta test 4.1.718

I wanted to give OpenCPN Beta 4.1.718 for Android a try on a Sony Xperia Z tablet (SGP321).
The program started correctly, but pressing the settings tab every time causes a program crash. I tried it first on Android 4.4, same after an upgrade to 5.0.2, so no further testing possible at the moment...
__________________

__________________
Optiphot is offline   Reply With Quote
Old 30-07-2015, 02:42   #123
bcn
Registered User

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

It would be sure helpful if you can try to show the crash report as described here by Dave: OpenCPN for Android Beta test 4.1.718
__________________
bcn is online now   Reply With Quote
Old 30-07-2015, 06:51   #124
Registered User

Join Date: Jul 2015
Posts: 4
Re: OpenCPN for Android Beta test 4.1.718

Thank you, bcn!
I finally managed to create a crash dump.
I searched all the 14 MB file for something similar like it was mentioned in Daves post.
Nothing similar. The only info that might be useful seems this to me:

Task id #137
* TaskRecord{dd3b614 #137 A=org.opencpn.opencpn U=0 sz=1}
userId=0 effectiveUid=u0a184 mCallingUid=u0a37 mCallingPackage=com.sonyericsson.home
affinity=org.opencpn.opencpn
intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.opencpn.opencpn/org.qtproject.qt5.android.bindings.QtActivity}
realActivity=org.opencpn.opencpn/org.qtproject.qt5.android.bindings.QtActivity
autoRemoveRecents=false isPersistable=true numFullscreen=1 taskType=0 mTaskToReturnTo=1
rootWasReset=true mNeverRelinquishIdentity=true mReuseTask=false
Activities=[ActivityRecord{25795b89 u0 org.opencpn.opencpn/org.qtproject.qt5.android.bindings.QtActivity t137}]
askedCompatMode=false inRecents=true isAvailable=true
lastThumbnail=android.graphics.Bitmap@c16cebd lastThumbnailFile=/data/system/recent_images/137_task_thumbnail.png
hasBeenVisible=true firstActiveTime=1438258904736 lastActiveTime=1438258904736 (inactive for 461s)
* Hist #0: ActivityRecord{25795b89 u0 org.opencpn.opencpn/org.qtproject.qt5.android.bindings.QtActivity t137}
packageName=org.opencpn.opencpn processName=org.opencpn.opencpn
launchedFromUid=10037 launchedFromPackage=com.sonyericsson.home userId=0
app=null
Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.opencpn.opencpn/org.qtproject.qt5.android.bindings.QtActivity bnds=[315,818][530,1040] }
frontOfTask=true task=TaskRecord{dd3b614 #137 A=org.opencpn.opencpn U=0 sz=1}
taskAffinity=org.opencpn.opencpn
realActivity=org.opencpn.opencpn/org.qtproject.qt5.android.bindings.QtActivity
baseDir=/data/app/org.opencpn.opencpn-1.apk
dataDir=/data/data/org.opencpn.opencpn
stateNotNeeded=false componentSpecified=true mActivityType=0
compat={240dpi always-compat} labelRes=0x7f05001a icon=0x7f020010 theme=0x103006b
config={1.0 232mcc10mnc de_AT ldltr sw800dp w1280dp h726dp 240dpi xlrg land finger -keyb/v/h -nav/h s.7 skinPackageSeq.1}
taskDescription: iconFilename=null label="null" color=ffe6e6e6
launchFailed=false launchCount=0 lastLaunchTime=-8m7s911ms
haveState=true icicle=Bundle[mParcelledData.dataSize=1612]
state=DESTROYED stopped=true delayedResume=false finishing=false
keysPaused=false inHistory=true visible=false sleeping=false idle=true
fullscreen=true noDisplay=false immersive=false launchMode=0
frozenBeforeDestroy=false forceNewConfig=false
mActivityType=APPLICATION_ACTIVITY_TYPE
waitingVisible=false nowVisible=false lastVisibleTime=-8m6s644ms

and this line in memsys:

3,17268,org.opencpn.opencpn,61516,8222,N/A,69738,60707,5108,N/A,65815,428,3114,N/A,3542,6497,3097,152902,162496,0,0,16252,16252,190 0,5164,4748,11812,0,0,27084,27084,6464,3016,135144 ,144624,0,0,16256,16256,Dalvik Other,398,0,88,0,356,0,Stack,200,0,0,0,200,0,Curso r,0,0,0,0,0,0,Ashmem,0,0,0,0,0,0,Other dev,2374,0,116,0,2340,4,.so mmap,16725,15136,1864,7452,1112,15136,.jar mmap,0,0,0,0,0,0,.apk mmap,136,0,0,1812,0,0,.ttf mmap,173,132,0,224,0,132,.dex mmap,748,744,0,8,0,744,code mmap,855,240,0,12060,0,240,image mmap,979,0,2456,5292,848,0,Other mmap,28,0,12,236,4,0,Graphics,53136,0,0,0,53136,0, GL,57076,0,0,0,57076,0,Memtrack,0,0,0,0,0,0,64,1,3 ,1,6,6,16,19,1,0,0,0,0,0

I hope this may be helpful...
I couldn't find a way to send a (large) attachment to a PN here...
__________________
Optiphot is offline   Reply With Quote
Old 30-07-2015, 07:11   #125
Registered User

Join Date: Jul 2015
Posts: 2
Re: OpenCPN for Android Beta test 4.1.718

Quote:
Originally Posted by bdbcat View Post
'Hoy testers...

Once more:
I am trying to inventory who has trouble with displaying grid lines, and fading over part of the screen. Like this:

http://www.cruisersforum.com/forums/...hmentid=105738

Acer Z220
Samsung GalaxyTab
Sony Z3 Compact
Sony SGP512

Anyone else?

Dave
My Nexus 7 2013 (Android 5.1.1 LMY48G) has the same difficulty. Only the Degree without any decimal and minutes are shown.
Regards
Philippe
__________________
damour.ph is offline   Reply With Quote
Old 30-07-2015, 08:09   #126
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,508
Re: OpenCPN for Android Beta test 4.1.718

Temptress...

re:
"chart detail is set anywhere above the minimum"

More info, please. Do you mean the slider on ExpertSettings->Charts->VectorCharts->cm93 detail ?

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-07-2015, 13:52   #127
Registered User

Join Date: Apr 2015
Posts: 12
Re: OpenCPN for Android Beta test 4.1.718

Quote:
Originally Posted by boat_alexandra View Post
It would be great if you can help debug. I want to get on it myself but I have a very slow connection so it's difficult to set things up, and I have no real android hardware. Maybe I can run android on a raspberry pi but it's not really my intention.

I think maybe opengl works on an x86 android build in the emulator but I didn't try it yet.

The arm emulator is very slow and doesn't support opengl (even software emulated)

Maybe you can also improve the development environment or documentation for how to build opencpn on android as I know this is a deterring factor for others. Basically if you clone the opencpn source code you will find a directory "buildandroid" which has some readme files explaining things. You could ask questions here if you get stuck.
Currently all my machines are either Android or Windows, so I first have to build a Linux machine...
Which distro is prefered?

regards
Hans
__________________
Hans Fix is offline   Reply With Quote
Old 31-07-2015, 07:40   #128
Registered User

Join Date: Dec 2013
Posts: 22
Re: OpenCPN for Android Beta test 4.1.718

Quote:
Originally Posted by Temptress View Post
Using CM93 charts and when the chart detail is set anywhere above the minimum the redraw is so slow O is unusable.
+1 on that.
If O has to load more than 10 cells , the time to use is minutes.
Using :
Standard
4 Colors
CM93 Deatail Level 50% (slider)
Has compiled OA myself and it's the call to RenderCharts(gldc, chart_get_region) taking up the time.

Does'nt really like the UseCanvasPanning but disabling it ,makes OA very slow.
__________________
curl is offline   Reply With Quote
Old 31-07-2015, 08:52   #129
Registered User
 
HappySeagull's Avatar

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

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

I find this in my notes, and I think its yours....:

"Old complaint: Unlocked waypoints cannot be moved."

Can you amplify, please?

Thanks
Dave
Hi,Dave. a Quick note from wide continental spaces where the internet don't roam...
Yes, wpts/marks cannot be moved. That is, there is a way to do this on computer...as in, clickndrag a mark/wpt to be dragged to a new location. This seems especially useful on the android version where a route "bluntly"made on a tablet's small screen can then be corrected later when zoomed in on the route...

The toolbox option "lock wpts" should be kept though.
One does not want to be dragging wpts by accident, eh?

by the way,Oa has been functioning well and has been very useful route planning on my topographic Kaps
__________________
HappySeagull is offline   Reply With Quote
Old 31-07-2015, 08:57   #130
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,508
Re: OpenCPN for Android Beta test 4.1.718

curl...

About performance with enhanced cm93 detail...

Well, that's life. At the leading edge of SW development, we always want more power.

These little devices do not have the raw horsepower of a modern x86 machine. They don't have the RAM capacity, they run many many background tasks/threads which cannot be eliminated, and their bulk storage (sdcard) is not particularly fast. OCPN has to share these limited resources with everything else that is running on the device.

Rendering vector charts is compute-intensive. If you study the compiler generated code, you will see that a RISC processor like ARMV7 needs to execute a lot of cycles to do what an x86 might do in one clock. So raw clock speed and RAM availability are critical to performance. And these are precious commodities on Android devices.

Even though it is pretty to look at, showing high detail on a very fine pitch display does not enhance the practical user experience, IMHO. This is why the default cm93 detail level is set very low on OA in Basic mode.

If other Android georef applications run faster/smoother than OCPN, consider the accuracy of the geo data they are using. Is it really suitable for navigation?

IMHO
Dave
__________________
bdbcat is offline   Reply With Quote
Old 31-07-2015, 10:01   #131
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,571
Re: OpenCPN for Android Beta test 4.1.718

Dave,
correct what you write and well known since a long time.
Therefore your goal to have one code base for all known platforms doesn't work.
I suggest to divide the code now to have the best result for each platform. The Android example has shown the limitations now.
Gerhard
__________________
CarCode is online now   Reply With Quote
Old 31-07-2015, 10:59   #132
Registered User

Join Date: Apr 2012
Posts: 10
Re: OpenCPN for Android Beta test 4.1.718

Now the program starts to work properly, but it has still some graphic problem:
I have a tablet LG G pad 8.3 (1920x1200) and the CM 93 at some level of zoom have some areas colored in different color and the word meters is visualized only for one half.
Is it possible in the future have the dashboard more complete (better if configurable)? This could be usefull also in the version for PC.
Tank you
__________________
alessandrone is offline   Reply With Quote
Old 31-07-2015, 11:03   #133
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: OpenCPN for Android Beta test 4.1.718

alessandrone...
What exactly do you mean by the dashboard request - there is none in OA so far and the desktop one is configurable...
We are happy to implement new features you guys want, but kind of need to know what they are

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

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

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

Track display problem noted and reproduced. Thanks

Dave
Today's pull: Now fixed!
Thanks/Håkan
__________________
Hakan is offline   Reply With Quote
Old 31-07-2015, 12:49   #135
Registered User

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

Today's pull tested in Win-XP and W7. New AIS alert issue:
The AIS-Alert message is present when required but the window is intermittent moving down on and eventually out of the screen. Every move is about 1 cm each second. It's impossible to "catch" a button. (OpenGl independent)
Håkan
__________________

__________________
Hakan 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 199 29-07-2015 18:54
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
OpenCPN to Android plugin - Beta tester required ! kobold27 Commercial Posts 10 17-04-2013 17:48


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:50.


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.