<div dir="ltr">Thanks, Peter.<div><br></div><div>As to your suggestion, I built it all over again and get the .apk installed on my cellphone.</div><div><br></div><div>But the map loading of japan.map still doesn't work. I've debugged it to the code and guess it's the problem of using mapsforge. (I've built the web component of your graphhopper as well and it works fine!)</div>
<div><br></div><div>So I raise it in the maspforge-dev group at Google, see <a href="https://groups.google.com/forum/#!topic/mapsforge-dev/03ftndqcLM0">https://groups.google.com/forum/#!topic/mapsforge-dev/03ftndqcLM0</a>.</div>
<div><br></div><div>Thanks for your consistant help and dedication, even for my stupid questions. Really appreciate it.  :-)</div><div><br></div><div>Cheers,</div><p class="" style="word-break:break-all"><span lang="EN-US"></span></p>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/4 Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
> 1. ./graphhopper.sh eclipse<br>
<br>
There is no eclipse action :) ... only ./graphhopper.sh android<br>
<div class="im"><br>
> 2. get my cellphone connected and run the application on the device<br>
> 3. download japan.map<br>
> from <a href="http://download.mapsforge.org/maps/asia/japan.map" target="_blank">http://download.mapsforge.org/maps/asia/japan.map</a><br>
> 4. copy the japan.map into a folder japan-gh and move the folder to<br>
> /sdcard/graphhopper/maps/<br>
><br>
> Then I run graphhopper on my cellphone. An error came out. Please see<br>
> the attached screenshot of my cellphone.<br>
<br>
</div>You need to find out the exact error from the android logs<br>
<div class="im"><br>
> It seems that the app on the cellphone couldn't load japan.map. Does<br>
> it have some relationship with the "Limitation" you mentioned<br>
> in <a href="https://github.com/graphhopper/graphhopper/wiki/Android#limitations" target="_blank">https://github.com/graphhopper/graphhopper/wiki/Android#limitations</a>?<br>
> I'm not very clear about the workaround: But you can simply create the<br>
> graphhopper folder on your desktop and copy them to the Android storage.<br>
<br>
</div>You already did this workaround in step 4.<br>
<div class="im"><br>
> Could you please give me more details about it, in terms of what is<br>
> graphhopper folder used for and what does it contian?<br>
<br>
</div>On Android you need the same files and an additional map like you have<br>
done. But make sure that you configure the GraphHopper object in the<br>
same way what you've generated on the desktop. Eg. if you use<br>
chShortcuts you need to call graphhopper.setCHShortcuts(true, true)<br>
<br>
Regards,<br>
Peter.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Simon Gong<br>Enjoy Work, Enjoy Life<br>
</div></div>