Closed GoogleCodeExporter closed 8 years ago
I've not tested on a real device for a while. I will test on Monday.
In the meantime:
- Are you sure you had your Internet connection working on the phone, when
trying to get the route?
- Have you tried to connect your device to Eclipse, to look at the logcat
traces?
Original comment by mathieu....@gmail.com
on 23 Jun 2012 at 9:57
I am sure I had internet connection on my mobile device. Yes, I tried to
connect my device to Eclipse, but the result is same. Thank you for your
interest again.
Original comment by hzse...@gmail.com
on 24 Jun 2012 at 10:04
when I use OSRM road manager, there is no problem. But when I use Mapquest road
manager, it can not get route on mobile device. I want to use mapquest because
OSRM does not support pedestrian route.Best regards
Original comment by hzse...@gmail.com
on 24 Jun 2012 at 12:15
I tested with MapQuest manager on an HTC: it was working fine...
Could you connect your device to Eclipse and get the logcat logs?
Original comment by mathieu....@gmail.com
on 25 Jun 2012 at 2:11
I get logcat logs. The related parts of the log are attached. The first one is
emulator log file, the second one is HTC log file.
Original comment by hzse...@gmail.com
on 26 Jun 2012 at 8:03
Attachments:
I think the problem is related with Global References (GREF). I think GREF has
increased to 201 on emulator but it has not increased on HTC device. But I
don't know what the solution is. All part of the log files are attached. The
first one is emulator log file, the second one is HTC log file.
Original comment by hzse...@gmail.com
on 26 Jun 2012 at 9:06
Attachments:
I download osmbonuspackdemo.apk from download page and tested it with my mobile
device. I get we have a problem to get route error message too.
Original comment by hzse...@gmail.com
on 26 Jun 2012 at 3:31
Okay.
In the HTC logs, the url request to MapQuest is traced:
06-26 11:22:51.304: DEBUG/BONUSPACK(3446):
MapQuestRoadManager.getRoute:http://open.mapquestapi.com/guidance/v0/route?from=
38.026796,32.511634&to=38.02256,32.51332&outFormat=xml&shapeFormat=cmp&narrative
Type=text&locale=en_AT&unit=k&fishbone=false&routeType=pedestrian
By Copy/pasting this url in a browser we can see the MapQuest answer, and
understand the issue: "<message>Invalid value 'en_AT' for parameter
'locale'</message>"
MapQuest doesn't support Austria country... In fact, they support few locales,
and it's not documented at all. Real issue.
In the short term, until finding a better solution, I will remove the setting
of the "locale" option from getRoad, and let the caller handle it (or not)
using addRequestOption("locale=...").
In the meantime, you can change your locale to English-US (or
Deutsch-Deutschland).
Original comment by mathieu....@gmail.com
on 26 Jun 2012 at 8:42
Yes, you are right. It is fixed. Thank you for your supports.
Original comment by hzse...@gmail.com
on 27 Jun 2012 at 7:00
Fixed in v1.4 (no locale set by default for MapQuestRoadManager)
Original comment by mathieu....@gmail.com
on 28 Jun 2012 at 9:29
Original issue reported on code.google.com by
hzse...@gmail.com
on 23 Jun 2012 at 11:19Attachments: