Android introduction

During the first class, we have went ove the basic of Android development. We have talked about:

  • Activity — a screen of the application
  • Fragment — a part of user interface. Basically a content of the screen.
  • Project structure — how the files a arranged in project.

We have also created a basic fragment with Google Map in it. For the map to work, you need an API Key.

After the key was added, the map loads a single Marker in Sydney. You have learned how to add objects to map. We added:

  • Marker using MarkerOption class.
  • Polyline using PolylineOptions class.
  • Polygon using PolygonOptions class.

--

--