Custom Alert Dialog With Dynamic Buttons

The Problem

Alert Dialogs are an excellent way of providing a confirmation screen, or letting users select from a set of options. However, customising them can be tricky, and they have a maximum of 3 buttons (positive, neutral, negative), all of which are positioned differently in different Android versions. If advanced customisation or more than 3 buttons are required, the usual method of modifying colours etc (styles) isn’t enough! Continue reading “Custom Alert Dialog With Dynamic Buttons”

Android: Importing Levels From QR Codes (Camera / File)

The Problem

In a previous post, it was discussed how to export levels from an Android game (in this case Connect Quest) so that other players could play them. Now that they’re exported, we need to be able to import them again! This post will explain how to import QR codes either directly from the camera, or embedded within an image on the file system.

Continue reading “Android: Importing Levels From QR Codes (Camera / File)”