[GraphHopper] Android error loading graph
Maxime Guyon
gmaxi17 at gmail.com
Fri Aug 22 11:13:51 UTC 2014
Ha okay I just missed the last line "moved to milestone 0.5"
I will try the solution proposed by jose
Thank you ;)
Le 22 août 2014 13:03, "Maxime Guyon" <gmaxi17 at gmail.com> a écrit :
> Hello,
>
> I tested the last master branch for use the new function which normally
> allow readonly file system:
>
> GraphHopper tmpHopp = new GraphHopper().forMobile();
>
> * tmpHopp.setAllowWrites(false);* *//This function*
>
> tmpHopp.setCHShortcuts("fastest");
> tmpHopp.load(pathToGraphFolder);
>
> 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...
>
> So if the graph is stored in extSD I get always this error:
>
>
>
> Even if I use the setAllowWrites(false).
> Any idea?
>
> Regards,
>
> Max
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140822/c3e6fdb1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2014-08-22-12-42-24.png
Type: image/png
Size: 86800 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140822/c3e6fdb1/attachment.png>
More information about the GraphHopper
mailing list