DessertClicker – Code

Code for Android Basics Codelab.

Introduction

DessertClicker is a game about making desserts. Press the button, make a dessert, earn the big bucks.

You use this app in the course to explore the Android lifecycle and log messages to the Android console (Logcat).

Pre-requisites

You need to know:

  • How to open, build, and run apps with Android Studio.
  • What an activity is, and how to create one in your app.
  • What the activity’s onCreate() method does, and the kind of operations that are performed in that method.

Getting Started

  1. Download and run the app.

Resources and Concepts

Activity Lifecycle

image

GitHub

View Github