¡@

Home 

2014/10/16 ¤W¤È 08:13:51

android Programming Glossary: fromlat

J2ME/Android/BlackBerry - driving directions, route between two locations

http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations

destination locations public static String getUrl double fromLat double fromLon double toLat double toLon connect to map web.. saddr from urlString.append Double.toString fromLat urlString.append urlString.append Double.toString fromLon urlString.append.. have to first form url public static String getUrl double fromLat double fromLon double toLat double toLon then create connection..

J2ME/Android/BlackBerry - driving directions, route between two locations

http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations

format. To get kml file we need to form url with start and destination locations public static String getUrl double fromLat double fromLon double toLat double toLon connect to map web service StringBuffer urlString new StringBuffer urlString.append.. urlString.append http maps.google.com maps f d hl en urlString.append saddr from urlString.append Double.toString fromLat urlString.append urlString.append Double.toString fromLon urlString.append daddr to urlString.append Double.toString toLat.. in different ways on Android and Blackberry so you will have to first form url public static String getUrl double fromLat double fromLon double toLat double toLon then create connection with this url and get InputStream. Then pass this InputStream..