Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use JAVA in Android Studio, Thanks so much its really appreciated. The zipcodes.csv (spreadsheet) is down below, its just a sample since the original

Please use JAVA in Android Studio, Thanks so much its really appreciated.

The zipcodes.csv (spreadsheet) is down below, its just a sample since the original file is to long with over 1000.

image text in transcribedimage text in transcribedimage text in transcribed

75 ca X0A Outer Nunavut (Iqaluit) NU 70.4643 -68.4789
76 ca X0B Central Nunavut (Cambridge Bay) NU 67.6963 -107.907
77 ca X0C Inner Nunavut (Rankin Inlet) NU 62.2237 -92.5904
78 ca X0E Central Northwest Territories (Inuvik) NT 62.4043 -110.742
79 ca X1A Yellowknife NT 62.4725 -114.342
80 ca T0A Eastern Alberta (St. Paul) AB 53.9225 -111.059
81 ca T0B Wainwright Region (Tofield) AB 53.0635 -112.307
82 ca T0C Central Alberta (Stettler) AB 51.9565 -110.076
83 ca T0E Western Alberta (Jasper) AB 53.8486 -114.436
84 ca T0G North Central Alberta (Slave Lake) AB 54.2653 -115.383
85 ca T0H Northwestern Alberta (High Level) AB 56.6598 -117.29
86 ca T0J Southeastern Alberta (Drumheller) AB 49.8442 -110.78
87 ca T0K International Border Region (Cardston) AB 49.7318 -112.617
88 ca T0L Kananaskis Country (Claresholm) AB 49.8736 -113.507
89 ca T0M Central Foothills (Sundre) AB 52.0306 -113.956
90 ca T0P Northeastern Alberta (Fort Chipewyan) AB 58.759 -111.087
91 ca T0V Remote Northeast (Fitzgerald) AB 59.8685 -111.633
92 ca T1A Medicine Hat Central AB 50.0365 -110.661
93 ca T1B Medicine Hat South AB 50.0172 -110.651
94 ca T1C Medicine Hat North AB 50.0556 -110.682
95 ca T1G Taber AB 49.7773 -112.158
96 ca T1H Lethbridge North AB 49.7118 -112.82
97 ca T1J Lethbridge West and Central AB 49.6915 -112.829
98 ca T1K Lethbridge Southeast AB 49.6765 -112.803
In this aesignment, you are required to design and implement an Android application that the following feature1 computing the distance between a pair of Canadian poetal codee (see Section 4); 2) finding nearby locatione within a radius of 100KM (see Section 5). A .cav file (named zipoodes.c) that nearly containe information about all the Canadian postal codes is provided along with thie document. The content of this file muet be persed by your app (at runtime) in order to retrieve the information about the postal codes including the pairs of longitude and latitude. See Section 6 for more detaile. In this part of the aeeignment, your application should prompt the ueer (using a dialog bax) to enter information about a pair of locations. That ie, information about the source (point A) and deetination (point B). To be more specific, what neede to be entered when the ueer is prompted ie two sets of 3 characters repreeenting the first 3 characters of a valid Canadian poetal oode. Upon clicking the compute distance button, your application should open a dialog bor that prompts the user to enter a two eet of charactere. If the entered sete are valid, the distance ehould be shown ueing an alert dialog box. Please not that a progrese bar muet be used and displayed right after cloeing the prompt dialog box and showing the result. In this aesignment, you are required to design and implement an Android application that the following feature1 computing the distance between a pair of Canadian poetal codee (see Section 4); 2) finding nearby locatione within a radius of 100KM (see Section 5). A .cav file (named zipoodes.c) that nearly containe information about all the Canadian postal codes is provided along with thie document. The content of this file muet be persed by your app (at runtime) in order to retrieve the information about the postal codes including the pairs of longitude and latitude. See Section 6 for more detaile. In this part of the aeeignment, your application should prompt the ueer (using a dialog bax) to enter information about a pair of locations. That ie, information about the source (point A) and deetination (point B). To be more specific, what neede to be entered when the ueer is prompted ie two sets of 3 characters repreeenting the first 3 characters of a valid Canadian poetal oode. Upon clicking the compute distance button, your application should open a dialog bor that prompts the user to enter a two eet of charactere. If the entered sete are valid, the distance ehould be shown ueing an alert dialog box. Please not that a progrese bar muet be used and displayed right after cloeing the prompt dialog box and showing the result

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions