Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - daubor

#1
Got the same problem yesterday!
Seems to be more reproducable when travelling with high speed and high zoom, so the map will have to "move" faster!

To run into the problem, switch multiple times from Home- to CustomScreen!
The error should occur after a few seconds on custom screen!

PS: with "Rotate Map" switched on, it seems much more reproducible
#2
Quote from: "menion"aren't these two killing running services? check it because when they kill recording, notification will remain but record stops ...
No, JuiceDefender is capable of enabling/disabling e.g. wifi/radio/... but not gps!!
Tasker is able to kill apps, but it's not configured to do this!

This morning i did a background recording again!
Everything was fine.
Even a short gps lost was no problem.
#3
Same here!
Tried to record a car-trip. After finishing it, i checked locus and it said that it detects an unfinished recording :( -> recording was stopped in the middle! No logs at this point of time.
GPS should be there as well!
Locus was in the background and screen was off.

I will check this in different environments...because i have some additional apps running.
-JuiceDefender
-Tasker
Maybe there is some influence between them!
#4
1. Select an Online Map to show!
2. Start a download of e.g. the current view and select some layers.
3. Abort the download after it has started!
4. Press Home-Button to go back to MapView

-> expected Result: last chosen OnlineMap and position is still shown
-> actual Result: "MapQuest - Portions"-Map is always shown
#5
Hey that's great!
Third step sounds very good.  ;)
#6
I would like to see more customization for custom screens!

Due to the fact, that i'm using Locus mainly in car and the autozoom is still not implemented  :roll: i need to zoom a lot.
My custom screen is showing all info i need, but for zooming i always need to go back to locus-homescreen..zoom zoom..and back again on my custom screen.

Is it possible to add tasks to the elements of custom screens?

For example:
<RotateView
      android:layout_width="80dip"
      android:layout_height="80dip"
      locus:task="wpt_next" <!-- when the element is touched/clicked, the next waypoint is selected -->
      locus:action="{guide_wpt_angle}"
      locus:rotateImage="@drawable/marker" />

<TextView
      android:layout_width="30dip"
      android:layout_height="match_parent"
      android:drawableLeft="@drawable/zoom_out"
      android:padding="2dip"
      locus:task="zoom_out"/>  <!-- when the element is touched/clicked, map is zoomed out -->[/color]

There are a lot of actions which could be triggered:
- start/pause/stop recording
- zooming
- switching customscreens (to switch to a predefined custom screen: locus:task="cs_chg_MaleSmurf")
- guide-controls
- gps on/off
- and so on...

I think this would improve the feature a lot!

regards
#7
Moah....i'm an idiot!

When unzipping via contextmenu in windows -> "Extract to folder <archiveName>" all contents of archive will be put in this folder!
After that i modified main.xml!
When finished, i selected this folder and created an archive of it! But the resulting structure is changed:
-> <archiveName>.zip/<archiveName>/layout/main.xml
must Be:  <archiveName>.zip/layout/main.xml

Usererror...
#8
Implemented / Re: speed dependent zoom
May 23, 2011, 15:10:51
Up!  ;)
#9
I think, the creation of own screens will be possible in future releases. Those sample's are just for an impression!

I tried it myself to create some custom screens, but nothing worked! Seems to be releated with zipping.
Because unpacking one of the samples and repacking it without any changes will corrupt it!
Locus is unable to find main.xml.

Anyway, when this is implemented, i will go for pro!
#10
Implemented / Re: speed dependent zoom
March 21, 2011, 17:57:43
Mandatory:
- Checkbox for activating/deactivating feature
- Editfield for Treshhold (prevents zoomtoggling..default 10kph ?!  :?: )

- Editfield Zoomlevel1
- Editfield Zoomlevel2
- Editfield Zoomlevel3
- Editfield Zoomlevel4
- Editfield Zoomlevel5


Optional/Nice too have:
Multislider with 4 Sliders to adjust speedlimit-value's
<---(1)---(2)---(3)---(4)--->

That means:
Speedlevel1 0 - (1)kph
Speedlevel2 (1) - (2)kph
Speedlevel3 (2) - (3)kph
Speedlevel4 (3) - (4)kph
Speedlevel5 (4) - 120kph


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

Behaviour with OnlineMaps:
- show zoom level according to current speed level
- if zoom is locked -> do nothing

Behaviour with offline maps:
This is a bit tricky:

Rules:
1. if only one layer is available in OfflineMaps -> do nothing
2. if adjusted zoomlevel is not available, but adjusted zoomlevel +/-1 is available -> use zooming like with locked zoom (i hope this is understandable)
3. if user manually changes zoomlevel, go back to speed dependent zoom after X seconds
4. if zoom is locked -> do nothing

Examples:
adjusted Levels:
0 - 30      Zoomlevel 25
30 - 60      Zoomlevel 24
60 -90      Zoomlevel 23
90 - 120           Zoomlevel 22
120 - *      Zoomlevel 21

Example Case1:
Available OfflineMapLayers: 26, 23, 21, 17
Current Speed: 0 - 30

- zoomlevel 25 is adjusted but not available
-> zoomlevel 26 is available and can be zoomed out to 25

Current Speed: 30 - 60
- zoomlevel 24 is adjusted but not available
-> zoomlevel 23 is available and can be zoomed to 24

Current Speed: 60 - 90
- zoomlevel 23 is available

Current Speed: 90 - 120
- zoomlevel 22 is adjusted but not available
-> decide what is better: zoom in layer 21 or zoom out layer 23

Example Case2:
Available OfflineMapLayers: 26, 25, 24
Current Speed: 60 - 90

- zoomlevel 23 is adjusted but not available
-> zoomlevel 24 is available and can be zoomed out to 23

Current Speed: 90 - 120
- zoomlevel 22 is adjusted but not available
- no layer available which equals 22 +/- 1, do nothing

and so on...
#11
Implemented / Re: speed dependent zoom
March 20, 2011, 21:38:06
UP!

I just came back from a 4 hour car-trip! Locus did everthing very good! . But i had to adjust the zoom a hundred times...grrrrr
#12
Thx! Workaround works fine!
#13
Implemented / speed dependent zoom
March 10, 2011, 11:32:42
In car, i often need to adjust the zoom - especially in "guide" mode.
A speed dependent zoom would be very helpful to keep the overview. If using offline maps, the "best" layer should be used, if one is available.

For example.
0 - 30km/h -> Zoomlevel 25
30 - 60km/h -> Zoomlevel 24
...
Adjustable speed- and zoomlevels would be good!
An adjustable hysteresis to avoid zoom toggling would be nice too!
#14
Hi,

i'm new to Locus, just installed 0.9.27 today.
When importing a .gpx file, Locus suddenly crashes.
I've tried it with different tracks from gpsies.de; bug is reproducable.

<entry key="STACK_TRACE_KEY">java.util.FormatFlagsConversionMismatchException: Mismatched Convertor =s, Flags=  
   at java.util.Formatter$FormatToken.ensureOnlyMinus(Formatter.java:1300)
   at java.util.Formatter$Transformer.transformFromString(Formatter.java:1517)
   at java.util.Formatter$Transformer.transform(Formatter.java:1395)
   at java.util.Formatter.doFormat(Formatter.java:1082)
   at java.util.Formatter.format(Formatter.java:994)
   at java.lang.String.format(String.java:2254)
   at android.content.res.Resources.getString(Resources.java:283)
   at android.content.Context.getString(Context.java:195)
   at menion.android.settings.Loc.get(Loc.java:17)
   at menion.android.gui.FileBrowser.browseTo(FileBrowser.java:249)
   at menion.android.gui.FileBrowser.onItemClick(FileBrowser.java:104)
   at android.widget.AdapterView.performItemClick(AdapterView.java:284)
   at android.widget.ListView.performItemClick(ListView.java:3382)
   at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:144)
   at android.app.ActivityThread.main(ActivityThread.java:4937)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
</entry>