Locus Map - forum

Development => Android versions => Testing => Topic started by: Menion on October 19, 2012, 19:28:57

Title: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 19, 2012, 19:28:57
Hello Guys,
   almost month, no actions from my side, sorry. Too long vacation and around 10 full days of work on complete change of database system in whole Locus. To make it short:

Locus now use new system for storing points & tracks
reason: old system limited possibilities I need for future development, so this was necessary (and planned for almost an year)
side-effect: new system is not compatible with old one. Locus will at start completely convert old data into new one!

!!! Before update do complete backup of all *SQLL files in Locus/data directory !!!

Locus will do automatic backup in case of successful conversion, into Locus/data/_pre270, but just for case, do it manually before update

What update brings
For now:
 - categories also for tracks (I know, it was long waiting, and finally you all convinced me)
 - size of stored tracks is now unlimited (finally solved problems with limit on 1MB)
 - improved waypoint screen (screen when you tap on point in category list or on map)
 - improved tracks screen (when you tap on track in list of tracks)
 - implemented completely new API (not yet public)
 - some other small improvements

Why public testing version
update affect really HUGE core part of Locus. Almost in every single file was some changes, in part handling with database is rewrote almost everything. So please, if you'll have patient and want to play with it, report me every single problem. There is so many features ... I'll be playing with every possible feature next days, but more heads, more discovered problems!!

Expect problems! So don't blame me if something will not work correctly now. And once more, backup your database files before update. All should works correctly, but just in case ...

---------------------------------------------------

Version 2.6.3.7 / 24.10.2012
changes to previous version 2.6.3.6

---------------------------------------------------

Version 2.6.3.6 / 23.10.2012
changes to previous version 2.6.3.5

---------------------------------------------------

Version 2.6.3.5 / 21.10.2012
changes to previous version 2.6.3.4

---------------------------------------------------

Version 2.6.3.4 / 20.10.2012
Recommendation: if you already converted data, do it once more if you don't have problem with it (do - delete locus/data/database directory, move content of locus/data/_pre270 directory to locus/data directory). I improved few things with point icons and tracks statistics so new conversion will help with it

changes to previous version 2.6.3.3

---------------------------------------------------

Version 2.6.3.3 / 19.10.2012
 - not available for download
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: stebu on October 19, 2012, 22:30:16
80 minutes and just finished db conversion.
Testing on my coach all seems to work normally.
Even the zoomlock bug that I reported earlier today has been fixed!
Title: Re: AW: [APP] - version 2.7.0 - BETA TESTING
Post by: mambofive on October 20, 2012, 09:17:24
Had a quick test and (almost) everything looks fine so far. Conversion ran fine, it took 2-3 minutes.

Some small issues:
- POI category 'Favorites' got renamed to 'database_favorites'
- most/all settings were lost - is this caused by the fact that the beta installs as test version, not as pro?

Anyway, very good work again!

Gesendet von meinem MotoA953 mit Tapatalk 2
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: stebu on October 20, 2012, 11:14:06
I cannot open a points category from the "Visibility" screen. I can see all the categories, but when I click one to view the contents, it takes me to the "Data" screen (points, tracks and items tabs) and from there I can open a points category.
Used to work directly from the "Visibility" screen.
I have also "database_favorites", the word is too long so I cannot see the counts :(
Title: Re: AW: [APP] - version 2.7.0 - BETA TESTING
Post by: mambofive on October 20, 2012, 12:11:53
Selecting some icons for some POIs ends with POIs without an icon at all.
I added a POI by address search and can't choose the default category icon for it, every other icon works.

Gesendet von meinem MotoA953 mit Tapatalk 2
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: fenster on October 20, 2012, 12:27:52
Quote from: "menion"Hello Guys,
   almost month, no actions from my side, sorry. Too long vacation and around 10 full days of work on complete change of database system in whole Locus. To make it short:

Locus now use new system for storing points & tracks
reason: old system limited possibilities I need for future development, so this was necessary (and planned for almost an year)
side-effect: new system is not compatible with old one. Locus will at start completely convert old data into new one!

!!! Before update do complete backup of all *SQLL files in Locus/data directory !!!

Locus will do automatic backup in case of successful conversion, into Locus/data/_pre270, but just for case, do it manually before update

What update brings
For now:
 - categories also for tracks (I know, it was long waiting, and finally you all convinced me)
 - size of stored tracks is now unlimited (finally solved problems with limit on 1MB)
 - improved waypoint screen (screen when you tap on point in category list or on map)
 - improved tracks screen (when you tap on track in list of tracks)
 - implemented completely new API (not yet public)
 - some other small improvements

Why public testing version
update affect really HUGE core part of Locus. Almost in every single file was some changes, in part handling with database is rewrote almost everything. So please, if you'll have patient and want to play with it, report me every single problem. There is so many features ... I'll be playing with every possible feature next days, but more heads, more discovered problems!!

Expect problems! So don't blame me if something will not work correctly now. And once more, backup your database files before update. All should works correctly, but just in case ...

-----------------------------------

Version 2.6.3.3 / 19.10.2012 - https://dl.dropbox.com/u/8015949/Locus% ... .6.3.3.apk (https://dl.dropbox.com/u/8015949/Locus%20%28dev%29/test_versions/2.6.3.3.apk)

Hello menion,

Sorry, please could you help me a little bit to find the newest beta version 2.7.0.
I was searching a lot but did not find the propper app.
Is it in the market place or in this forum available?
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Kroko_CZ on October 20, 2012, 13:05:43
Beta 2.7.0 -->  version 2.6.3.3 from 1. post
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: stebu on October 20, 2012, 15:09:21
Recording does not work for me.
When I push the record button, the GPS position and heading line freeze. I can toggle the "center" button (low left) and then my location is updated once on the screen.
When I stop recording no track is saved, no prompt for a name.

Guiding to a cache, uploading fieldnotes works as they used to. Also I can download new points into a category over the internet. So the important things (for me) are working :)
EXCEPT, I restored my preferences and the find count was changed back to an old value :(
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 20, 2012, 20:37:52
New test version in first post

step by step replies on posts

post stebu: eh 80 min is really a nice score. Welcome in category "user with most Locus points & tracks" ;)

post mambofive: database_favorites now correctly compiled into translated word "Favorites". About settings - this version is installed as Locus Free but it works as normal unlimited Pro version. I use this system to allow test version and also keep working Pro version. In this case it do not have much sense because of data conversion

post stebu: shortcut to category content from "Item visibility" fixed, thanks. And you may rename "database_favorites" manually

post mambofive: thanks, should be also fixed now

post fenster & krokodyl: as kroko wrote, link to download is in first post

post stebu: I was testing it today in field and during car navigation so some issues found and fixed as well as track recording. Preferences are old story right? I hoped it works fine, damn ...
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: gynta on October 20, 2012, 21:28:12
fast, really fast - good job  ;)

track recording is not perfect yet.
after stop "draw outline" is not select
after one track rec - the message "unknow problem with track saving!" appears
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: gynta on October 20, 2012, 21:36:30
after changing the category from a track - the tracklist was not refresh. after reopen data menu it's ok.
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: stebu on October 20, 2012, 21:57:19
I have renamed 'database_favorites' to 'Favorites'.
But I cannot select points from the category for end/start of navigation.
What is the correct name? Or is this a bug?
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 20, 2012, 22:14:33
gynta, thanks - I'll check it precisely (track record "Outline" is now fixed, rest tomorrow)

stebu - it's not a bug. I completely removed support for "Favorites" database as was before. It don't had success as I expected so I decided to create support for selection from whatever database, not just favorites. It's plan on tomorrow ;)
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: berkley on October 21, 2012, 02:26:37
Quote from: "menion"It's plan on tomorrow ;)

Tomorrow is Sunday... RELAX! ;)
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 21, 2012, 15:02:58
ah c'mon ... I had very long vacation, so no relax till Christmas :)

anyway, picking of points from categories done. Seems to work and it's very very useful

EDIT: new version in first post
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: gynta on October 21, 2012, 16:14:17
after first track rec - the message "unknow problem with track saving!" still appears
and again the knowing bug: changing trackprofile freeze Locus
(last version)
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 21, 2012, 16:23:42
when problem with saving happen? You have at least one track category? In dialog where you define name and style, you press "OK" and then?

I completely forget on problems with changing profiles, damn. I'm going to check it, thanks for remind me
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: jusc on October 21, 2012, 17:18:51
I just installed it on a clear phone with only a few tracks. Very fast convert. But after starting Locus, it seems I cannot stop it from trying to get GPS postion as before. The system symbol on the top is still blinking although Locus GPS/Ortung is off.
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: fenster on October 21, 2012, 19:27:17
Realy fast changes
I want to give feedback to 2.6.3.3 some was now allready fixed. Now I was testing ..6.3.4 and I saw already 6.3.5 is available.
So I give only feedback to 6.3.4 regarding tracks.
If I move a track from one category to another it works but the counting
still are the old one. But if I jump out and in again the counting is ok. Is only a minor point.

Is it possible to import more than one track together? At this time I can only import step by step one by one track.

Category of points and tracks to be to delete
Delition of categories are only possible when no points/tracks are stored  behind a category otherwise a message appears
"Category is no empty!" .
Perhaps a button yes/no could be solve it.

But nevertheless it is a big improvement for me.
Thanks a lot for this work.
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 21, 2012, 21:25:47
jusc: I also a few times saw similar behaviour, but in the end I discovered that it was different application that keep GPS enabled. In GPS system should be absolutely no change compare to previous version, so it's really weird - suggest to one phone restart. If this will be repeating for you, I'll create some testing version

fenster: numbers in category should be now fixed (there is really a lot of events that affect these numbers so there still should be some issues in the future). I just also create ability to delete whole categories together with it's content.

There is also big issue in track recording, so you'll probably will not be able to store second track. This is also fixed now together with some other minor improvements in exporting KML (KMZ) files with correct styles etc. But, I'll playing with it quite a lot so next test version tomorrow
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 23, 2012, 15:47:06
fine so new version is here. Believe all should be fine now :)
Title: Re: AW: [APP] - version 2.7.0 - BETA TESTING
Post by: jusc on October 23, 2012, 19:38:46
I wonder there is the link?
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: berkley on October 23, 2012, 19:56:56
Hey,

Jusc, the link is in the first post. Or click here
https://dl.dropbox.com/u/8015949/Locus% ... .6.3.6.apk (https://dl.dropbox.com/u/8015949/Locus%20%28dev%29/test_versions/2.6.3.6.apk)

Menion, it seems for me, that there is a small issue with recorded tracks. If you stop track recording and save it, and head right to data screen to uncheck the just recorded track, it does not work. You have to click 2 times for the track to be unchecked.

And maybe it would be interesting, if there was something like "auto-assign" the recorded track to a specific category. So you wouldn't have to choose the category when saving it. Not needed, just an idea.

Cheers, berkley
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 23, 2012, 22:07:15
thanks matthias, I'll check problem tomorow. I spend currently few hours with this version and paper. I'm step by step checking all features and have full A4 paper of issues and mistakes. And it's not the end yet. So sorry that I publish such versions. Changes in code was really huge and this is expected result. Some RC version tomorrow

Sent from my Galaxy Nexus using Tapatalk 2
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: tramp20 on October 24, 2012, 06:16:08
Quote from: "berkley"And maybe it would be interesting, if there was something like "auto-assign" the recorded track to a specific category. So you wouldn't have to choose the category when saving it.


+1
And sorry, I have no time to test the new version now :-(
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 24, 2012, 13:24:14
tramp, don't worry :)

I just started to work on this "automatic storing recorded track into category" and seems that there is one problem.

by this, when you press STOP button, track will be automatically stored. But this -
1. may happen by accident
2. you'll loose possibility to DELETE recorded track
3. you'll completely loose ability to change style or category without some editing of config file (because I wanted to place this into locus config)

so sorry, but I think I has almost no possitivity. Currently it's just one button - press OK
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: berkley on October 24, 2012, 14:02:22
Maybe you misunderstood me. At the moment, you have last used category as default. I just meant to make the suggestion to take another category right from track recording profile.

Anyway, this belongs to wishes or on GSF...
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 24, 2012, 19:49:09
quite well tested version (v. 7) in first post

matthias, may you please describe more precisely your idea? I still don't know what you have on mind, thanks
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: gynta on October 24, 2012, 20:18:13
Quote from: "menion"quite well tested version (v. 7) in first post
fixed issue with screen rotate on satellite or compass screen (phones 4.0+ only)
sorry but issue is still there in compass screen on the SGTab10.1 v4.0.4
...but both (sat and compass) works on SGS2 v4.0.3
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 24, 2012, 20:49:49
thanks gynta. I was testing it still only on a phone. Have to do it also on tablet, thanks!
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: gynta on October 24, 2012, 22:10:53
Quote from: "menion"
  • fixed issue with not working "Add quick point" feature
Ahh - and I've been wondering and edit some things yesterday :roll:
Well, now i just copied my old .quick_add_point.dat to Locus/data/ but if i use it - the points are stored in "Favorites" now.
If i change the category (eg to myquickpois) the poi icon itself also changes and i have to search the right poi icon again..
can i set my default category in an easier way than this?
eg with a (hex)editor in a dat file?
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 25, 2012, 10:04:30
ah damn, you're correct. In definition of quick points is defined ID of category. Not name but some integer value that define category. But new categories have different id :/. So editing by hex editor is possible, anyway I just created also conversion of these id's during first conversion into new version. So please, when there will be new version for testing, start conversion again (just delete "locus/data/database" directory and MOVE content of "locus/data/_pre270" directly into "locus/data" directory). Locus will then convert all databases and now as well with all "Quick add point" definitions

I also added two more options, {t} and {text}. {t} is time (definition will be probably placed into config file), {text} is value for which you'll be asked before placing new point on map
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: stebu on October 26, 2012, 10:38:46
Slow geocache GPX file loading!

I tested with two files and two Locus versions (test = 2.6.3.7, pro = 2.6.2).
Both files had 208 geocaches (no images, only text descriptions and logs). Logs file has about 10 separate logs per geocahce, Onelog file has the 10 logs combined into one long log (see below). The files were on my SD-card. ZTE-Blade, android 2.2
The timing results:
test    pro
102s    24s   Onelog
161s    42s   Logs
I have two suggestions:
1) make loading faster (  ;) )
2) Load {groundspeak:logs}...{groundspeak:logs} as single item. Only when user opens the Logs tab, the separate logs (for that geocache) are parsed (temporarily or permanently).

LOGS file
{groundspeak:logs}
 {groundspeak:log id="xxx"}{....}
 {/groundspeak:log}
 {groundspeak:log id="xxx"}{....}
 {/groundspeak:log}
 {groundspeak:log id="xxx"}{....}
 ...
 {/groundspeak:log}
 {groundspeak:log id="xxx"}{....}
 {/groundspeak:log}
{/groundspeak:logs}

ONELOG file
{groundspeak:logs}
 {groundspeak:log id="xxx"}{about 10 logtexts in one log}
 {/groundspeak:log}
{/groundspeak:logs}
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 26, 2012, 10:54:15
by loading you mean direct loading on map or import into database? Because 208 cache loaded just into memory if quite risky (due to memory consumption). Long listing usually take really a lot of memory ...

anyway if this is just loading on map, I'm quite surprised that new version is 4 times slower, damn. Mainly because there is no difference in parsing itself
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: stebu on October 26, 2012, 11:52:21
I imported local .GPX files into database. I created the points category before importing, so it was empty. I had "empty selected category" and "show on the map after import" enabled.

I import ~1400 caches (50 km radius :) several times a week, so that is VERY slow! But it works well and causes no problems.

Edit:
I just checked, in the old version you had one .sqll for each category. Now it seems that all categories are stored into one large .db
(I have currently 43.5Mb). (80 minutes conversion,  :o :) )

If that is the cause, then:
I have only a few (2..4) categories that need to be updated often. Could there be two databases, one for "static" points and one for changing points?
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 26, 2012, 12:29:12
no it couldn't :). Number of points is still too low to affect speed ...

I'll try to do some testing. Expect that I'll probably today release new version and will next days work on speed improvements.

EDIT:
 - complete import of one PQ (1000 caches) - 90s
 - commented line where locus generate content for database and store it's data to database (completely new one) - 60s

so this mean, that new part with storing points cause 33% of import time. It's not a low, but seems there exists more critical places where to do some improvements. These 33% also have very low chance to improve. They contain just some serialization and one insert into database, which is very fast no matter how many points is already in database

EDIT2:
 - during waiting till gynta translate missing translations to German, I reduced import time from 90s to 75s. Good start ;)
Title: Re: [APP] - version 2.7.0 - BETA TESTING
Post by: Menion on October 26, 2012, 16:28:38
topic closed because new version is just uploading on Google Play and AndroidPIT

discussion may continue in version topic. Thanks all for help with testing. It was very useful. I believe that most features will work as expected. Only issue I know about it, is a quite slow deleting of part of track. It's TODO task on next week ... nice weekend to all