# Route is lost if app crashes

**URL:** <https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564>\
**Category:** App\
**Tags:** problem\
**Created:** [August 30, 2018, 9:23am UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564 "2018-08-30T09:23:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chickenmarkus](https://forum.kurviger.com/user_avatar/forum.kurviger.com/chickenmarkus/32/1034_2.png) [@chickenmarkus](https://forum.kurviger.com/u/chickenmarkus)\
**Post date:** [August 30, 2018, 9:23am UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/1 "2018-08-30T09:23:15Z")

</div>

The route is restored after a properly exiting the app. In contrast, the route is lost if the app was terminated.

Steps to reproduce:

1. create route
2. optional  
a) exit app properly  
b) restart app
3. start navigation
4. app crashes, is terminated by the operating system (HTC Desire X: only 756MB of RAM) or is terminated via the Task Manager
5. restart app  
with 2.: route is restored and navigation can be continued  
without 2.: no or an old route → current route has to be re-created

Solution approach:  
Point 2 suggests that the route is saved when exiting. Add these function direct after a route was created. Then, the current route can be restored whatever happens next.

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [August 30, 2018, 9:54am UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/2 "2018-08-30T09:54:44Z")

</div>

Thanks, interesting workflow!

Need to think it more, as route is not only created once, but can be modified also far too many times while the app is active and saving continuously is not nice for I/O performance.

---

<div class="post-metadata">

**Author:** ![Uli\_LH](https://forum.kurviger.com/user_avatar/forum.kurviger.com/uli_lh/32/562_2.png) [@Uli\_LH](https://forum.kurviger.com/u/Uli_LH)\
**Post date:** [August 30, 2018, 3:13pm UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/3 "2018-08-30T15:13:18Z")

</div>

MY solution: ALWAYS “exporting” (= saving) a new route immediately after creating it - it’s only a few steps to do and I do it without long thinking about.  
If app or OS crashes, it’s easy to “import” the route and decide to start from the beginning or from my position.

(That’s a reason, why you as developers may think about renaming “export” and “import” in “eport / save” or “export / backup” and “import / restore” - perhaps this would show the usage of these options in a more intuitive way.)

---

<div class="post-metadata">

**Author:** ![SchlesiM](https://forum.kurviger.com/user_avatar/forum.kurviger.com/schlesim/32/1080_2.png) [@SchlesiM](https://forum.kurviger.com/u/SchlesiM)\
**Post date:** [August 30, 2018, 5:41pm UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/4 "2018-08-30T17:41:10Z")

</div>

> [@Uli\_LH](#):
>
> MY solution: ALWAYS “exporting” (= saving) a new route immediately after creating it - it’s only a few steps to do and I do it without long thinking about.

If changing an existing (which means: formerly imported) route, saving wouid be even more comfortable, if there’ll be a function like mentioned in [this](https://forum.kurviger.com/t/remember-the-name-of-an-imported-route/388) discussion some day (good to know that’s already on the list of future changes 😄).

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [August 30, 2018, 5:56pm UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/5 "2018-08-30T17:56:24Z")

</div>

> [@SchlesiM](#):
>
> If changing an existing (which means: formerly imported) route, saving wouid be even more comfortable, if there’ll be a function like mentioned in [this](https://forum.kurviger.com/t/remember-the-name-of-an-imported-route/388) discussion some day (good to know that’s already on the list of future changes 😄).

Stay tuned for next Kurviger version!  
Many new features and **also** that. 🙂

---

<div class="post-metadata">

**Author:** ![SchlesiM](https://forum.kurviger.com/user_avatar/forum.kurviger.com/schlesim/32/1080_2.png) [@SchlesiM](https://forum.kurviger.com/u/SchlesiM)\
**Post date:** [September 6, 2018, 6:01am UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/6 "2018-09-06T06:01:54Z")

</div>

Oh yes - I’m really happy that this works since version 1.2 of the Kurviger app. Good job! 👍

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [September 16, 2018, 1:52pm UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/7 "2018-09-16T13:52:52Z")

</div>

Next Kurviger will have an improved auto-save route.  
Even with irregular app exits, your routes will be safe. 🙂

---

<div class="post-metadata">

**Author:** ![Uli\_LH](https://forum.kurviger.com/user_avatar/forum.kurviger.com/uli_lh/32/562_2.png) [@Uli\_LH](https://forum.kurviger.com/u/Uli_LH)\
**Post date:** [September 28, 2018, 8:48am UTC](https://forum.kurviger.com/t/route-is-lost-if-app-crashes/564/8 "2018-09-28T08:48:45Z")

</div>

Version 1.3 made it reality! 👍🏽
