Arvutiteaduse instituut
  1. Kursused
  2. 2020/21 sügis
  3. Mobiiliarvutus ja asjade internet (LTAT.06.009)
EN
Logi sisse

Mobiiliarvutus ja asjade internet 2020/21 sügis

  • 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
  • Arvutiteaduse instituut
  • Loodus- ja täppisteaduste valdkond
  • Tartu Ülikool
Tehniliste probleemide või küsimuste korral kirjuta:

Kursuse sisu ja korralduslike küsimustega pöörduge kursuse korraldajate poole.
Õppematerjalide varalised autoriõigused kuuluvad Tartu Ülikoolile. Õppematerjalide kasutamine on lubatud autoriõiguse seaduses ettenähtud teose vaba kasutamise eesmärkidel ja tingimustel. Õppematerjalide kasutamisel on kasutaja kohustatud viitama õppematerjalide autorile.
Õppematerjalide kasutamine muudel eesmärkidel on lubatud ainult Tartu Ülikooli eelneval kirjalikul nõusolekul.
Courses’i keskkonna kasutustingimused