PDF Publication Title:
Text from PDF Page: 024
Driving Range Polygon Designing Algorithm for Driving Range 5.5.1 Result from Google Maps Distance Matrix API Google Maps Distance Matrix API return a JSON object with distance and duration value as follows: { ”destination addresses ” : [ ”Praha , Cesko” ] , ”origin addresses” : [ ”rows” : [ { ] } ], ”status” : ”OK” } }, } ”Plzen, Cesko” ], }, ”duration ” :{ ”text” : ”1 hodin, 15 minut”, : 4472 ”OK” ”elements ” : [ { ”distance ” ”text” : ”94,4 km”, ”value ” : 94394 ”value ” ”status” : :{ The JSON object must be parsed to use it in our application. I use org.json Parser [26] for these needs. 5.5.2 Making a JSON Request in Android In order to make a request to the Google API servers I need to use HTTP request. First, I created classical HTTP request approach with HttpURLConnection [Google, 2017e] and HttpClient in the Android application[Burnette, 2009]. It worked just fine but the requests’ tasks are returning slowly from the server and in this case, are returning back one after another task. This means that every task waits on finishing the previous task before being launched. This causes a problem with speed performance. If I consider, for example, 24 requests for the first iteration of the algorithm, it will last tens of seconds before all tasks are finished. Despite the fact that this solution worked well, I had to use an asynchronous HTTP request approach instead. 16PDF Image | Driving Range Estimation and Trajectory Planning
PDF Search Title:
Driving Range Estimation and Trajectory PlanningOriginal File Name Searched:
Diplomka.pdfDIY PDF Search: Google It | Yahoo | Bing
Cruise Ship Reviews | Luxury Resort | Jet | Yacht | and Travel Tech More Info
Cruising Review Topics and Articles More Info
Software based on Filemaker for the travel industry More Info
The Burgenstock Resort: Reviews on CruisingReview website... More Info
Resort Reviews: World Class resorts... More Info
The Riffelalp Resort: Reviews on CruisingReview website... More Info
CONTACT TEL: 608-238-6001 Email: greg@cruisingreview.com | RSS | AMP |