No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Overview

This is a standalone Gradle-based version of the Dots/DotView/TouchMe MVC Android UI Demo from chapter 6 of Programming Android, 2nd Edition by Zigurd Mednieks et al., O'Reilly Media, 2012, ISBN-13: 978-1-4493-1664-8.

Please refer to the book chapter for detailed information on this example.

Learning Objectives

  • Mapping the model-view-controller (MVC) architecture to Android
  • Defining custom view components in Android
  • Understanding the difference between model-view-controller and model-view-adapter (MVA)
  • Android application life cycle management

Setting up the Environment

Check out the project using Android Studio. This creates the local.properties file with the required line

sdk.dir=<root folder of Android Studio's Android SDK installation>

Running the Application

In Android Studio: Run > Run AndroidUIDemo