Tuesday, 20 December 2016

Android Studio Retrieve Data from a Firebase Database

In this tutorial I show you how to retrieve realtime data from a Firebase Database using Android Studio. The Firebase database stores the information as a JSON file and I show you how to retrieve each branch of information from that tree.


Saturday, 10 December 2016

In this tutorial I show you how to build a multiple choice quiz with Android Studio from the ground up. In the first part of this tutorial we build the user interface, then we design a class to store our questions, choices and our correct answer then we create our logic.

You can visit my github page to download the completed project:

https://github.com/skooltch84/MultipleChoiceQuiz.git



Saturday, 26 November 2016

Adding a Map to a Fragment in Android Studio

Adding a map to an activity in android studio is a piece of cake if you follow the documentation. However adding a map to a fragment is a different story. Once you have your fragment you need to:


  • Obtain your api key. and paste this information into your manifest. 
  • Set the version of gl Es in the manifest
  • Set permissions in the manifest
  • Create a frame layout in your xml file
  • Add a mapView to this layout
  • Implement onMapReadyCallBack in your java file and add methods
  • Configure your map.
All of this can be done in under 8 mins. Just watch the video below.