Game Instructions

Tap a tile to toggle its color. When a tile changes nearby tiles may change as well. Each move affect multiple tiles. The target is to turn all tiles into yellow in the fewest steps possible.

Press 'j' to show/hide the game. Press 'i' to show/hide the instructions. Press 't' to show/hide the top score table.

Steps: 0

Top Scores

Name Steps
Press J to toggle the game, I to toggle instructions, and T to toggle the top scores

Congratulations!

You solved the puzzle in 0 steps!

Success!

Score submitted successfully!

Error

Failed to submit score. Please try again.

The Notification.Builder Class PRO

The Android 3.0 platform includes the Notification.Builder class that assists with the creation of user notification.

Notification.Builder builder = new Notification.Builder(NotificationBuilderDemo.this)
.setSmallIcon(R.drawable.icon_noti)
.setAutoCancel(true)
.setTicker(“Hello Bonga!”)
.setContentText(“La La La BONGA”)
.setContentIntent(intent);

NotificationManager manager =  (NotificationManager)getSystemService(NOTIFICATION_SERVICE);

manager.notify(text.hashCode(), builder.getNotification());

The Notification.Builder class introduces a clear implementation for the Builder design pattern.

The Android 3.0 Tablets UI course I have recently completed to develop includes detailed slides that explain how do we use this class. The community version of this course is available for free personal usage at www.abelski.com.

The following video clip presents a simple demo for using this class. The source code is available for free personal usage in my Android 3.0 Tablet UI community course.

Share:

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences