Institute of Computer Science
  1. Courses
  2. 2020/21 fall
  3. Mobile Computing and Internet of Things (LTAT.06.009)
ET
Log in

Mobile Computing and Internet of Things 2020/21 fall

  • Main
  • Lectures
  • Labs
  • Homeworks & Home Assignments
  • Quizes
  • Task submission
  • Extra Materials
  • Projects
    • Teams & Topics
    • Presentations & Report
    • Grading & Submission

Homework 7

Develop an Android application using Google Maps API

  • You need to draw apath on the map from your current location to a static location (destination)
    • (e.g. Delta center-58.385254, 26.725064)
  • You should mark both locations using a red marker (1pt)
  • Get the current location using GPS. (1 pts)
  • Draw the best path (dynamically, using Google Directions API ) between two locations (2 pts)
  • Clicking on the destination marker should show text, which tells the user how far away the destination is and how long it will take to get there (e.g. as a pedestrian). ( 1 pt)

The app should handle permissions requesting. If the app is 1st launched, it should ask the user for the needed permissions, and after the user grants them, the app should work as described above (without having to restart, etc). If the user denies the permission, the app doesn't really have to do anything.

Note: During the lab sessions, we will distribute a Google Directions API Key for obtaining route waypoints. Since, the key is associated with some restrictions (e.g. limited number of requests per day), you are strongly advised to handle it very carefully.

Some hints:

  • If you are using Ion and are getting java.lang.NoSuchMethodError: No static method metafactory , look here
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment