<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">This is still not implemented.
      setAllowWrites(false) will just avoid creating the lock file. See:<br>
      <a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/issues/217">https://github.com/graphhopper/graphhopper/issues/217</a><br>
      <br>
      which is easy to fix but not a priority for me (now)<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      On 22.08.2014 13:03, Maxime Guyon wrote:<br>
    </div>
    <blockquote
cite="mid:CAEkM7yrX0GOxqb2VCvvCQgotNOJDc_GyiroV3H9zCy1PKZLYFg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I tested the last master branch for use the new function
          which normally allow readonly file system:<br>
        </div>
        <div><br>
        </div>
        <div>
          <div> GraphHopper tmpHopp = new GraphHopper().forMobile();</div>
          <div><br>
          </div>
          <div><i> tmpHopp.setAllowWrites(false);</i> <b>//This
              function</b></div>
          <div><b><br>
            </b></div>
          <div> tmpHopp.setCHShortcuts("fastest");</div>
          <div> tmpHopp.load(pathToGraphFolder); </div>
        </div>
        <div>
          <br>
        </div>
        <div>But I have always the same problem. As you maybe know,
          since Android 4, the external storage (extSD) doesn't allow
          writing something on it without user interaction. This I think
          was done in order to keep clean storage when application is
          uninstalled...</div>
        <div><br>
        </div>
        <div>So if the graph is stored in extSD I get always this error:</div>
        <div><br>
        </div>
        <div>
          <div><img src="cid:part1.02030603.00090000@gmx.de"
              style="margin-right: 0px;" height="58" width="311"><br>
          </div>
          ​</div>
        <div>Even if I use the setAllowWrites(false).</div>
        <div>Any idea?</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div>Max</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>