Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Assignment 2 (Android and Google Maps)
In different seasons, blossom among the CUHK campus has decorated the hill and the suburbs area with
colourful charms and created many must-visit spots: in spring with the pink cherry blossoms in NA, in summer
with the blue Jacaranda, and in autumn with the purple Orchid tree. This assignment needs you to write an
Android App which can display a list of blossom images of flowery spots with Kotlin and Android Studio
3.2.x please try to implement the program on Android 8.0/8.1 (API 26/27). The default testing simulator is
Nexus 5X Portrait mode.
In this assignment, you need to set up a list of 10 blossom items in a grid-based photo gallery when the
program starts up. Each flower item only has to contain one thumbnail photo, and nothing else. As a practice of
various programming skills in this assignment, you need to use the Adaptor to display these flower images as a
Grid Layout of RecyclerView (master view) on screen. On clicking each item, you should be able to get the
GPS location of where the photo is taken from its EXIF field and show user the location in a MapView or the
StreetView through the use of Google Maps Android API.
Google Maps API provides enormous support to developers so that they can embed a map view in their app
easily, but at the same time showing great map features to the user. Adding map view to your own program is in
fact quite easy. But to do this, you need to go through several steps.
1. Register for your use of Map API in Google and obtain the key. You should follow the procedure listed here
2. Adding the library use of Map, as well as permissions needed, which is both Internet, and location
information in this assignment.