segunmicheal27 / j2memaprouteprovider

Automatically exported from code.google.com/p/j2memaprouteprovider
0 stars 0 forks source link

Iam unbale to get the route and Map #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have used the code and run in my android emulator and device ,previously the 
app was running well and fine last Friday 27th 2012 but suddenly I am getting 
Issues Error and the app Carshes

1.
2.
3.

What is the expected output? What do you see instead?
07-31 04:41:40.164: W/ExpatReader(239): DTD handlers aren't supported.
07-31 04:41:40.185: W/System.err(239): 
org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 803: not 
well-formed (invalid token)
07-31 04:41:40.209: W/System.err(239):  at 
org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:508)
07-31 04:41:40.218: W/System.err(239):  at 
org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:467)
07-31 04:41:40.218: W/System.err(239):  at 
org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:329)
07-31 04:41:40.224: W/System.err(239):  at 
org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:286)
07-31 04:41:40.224: W/System.err(239):  at 
javax.xml.parsers.SAXParser.parse(SAXParser.java:361)
07-31 04:41:40.234: W/System.err(239):  at 
javax.xml.parsers.SAXParser.parse(SAXParser.java:240)

What version of the product are you using? On what operating system?
Version of Android used is 2.1 API level 7 and OS LINUX(UBUNTU- 10.04 LTS
                - the Lucid Lynx 

Please provide any additional information below.

Original issue reported on code.google.com by vive18.v...@gmail.com on 31 Jul 2012 at 6:00

GoogleCodeExporter commented 8 years ago
i have the same problem as you ... try to use googleAPI 2.2 and let me know 
what you get 

Original comment by berrich....@gmail.com on 31 Jul 2012 at 4:37

GoogleCodeExporter commented 8 years ago
Hello
I hae tried with API level 2.2 still the app crashes , do I need to encode
the UTF-8 as i was search in net i found many suggestion
I am stuck here as my application is fully relies on MAP route based , if
any other secondary suggestion I will be highly obliged to you

Original comment by vive18.v...@gmail.com on 1 Aug 2012 at 8:03

GoogleCodeExporter commented 8 years ago
For me i didn't find any help in the net.. Anyway, the main probleme is from 
URL i think..! try to do this and tell me what you get :

go to the RouteMapAcitivity (in the thread)and replace this 

/****************/
String url = RoadProvider.getUrl(fromLat, fromLon,toLat ,toLon);

by this :

/***************/
String url 
="http://maps.google.com/maps/ms?msid=214713521154000893930.0004af41fe6326eae586
1&msa=0&ll=37.693329,-121.844387&spn=0.104593,0.20359&output=kml ";

Original comment by berrich....@gmail.com on 1 Aug 2012 at 9:03

GoogleCodeExporter commented 8 years ago
For the api level you must choose GoogleApi 2.2 and not simply  android2.2

Original comment by berrich....@gmail.com on 1 Aug 2012 at 9:08