States

By definition, changes to code style or structure that result in an improved (or simply different) implementation without changes to the external behavior is a refactor, not a rewrite. Such is the case with my latest project, States. I’m now on my third version.

This is the app that I’m pushing forward as my first published project. I’m installing mobile development tools on my desktop today to facilitate that transition.

It’s a simple little app that presents the fifty U.S. States as buttons that allow you to drill down to individual cities, or pick a city at random.

On the first screen I selected [ ID ] which presented the first letter sets for cities in Idaho. I then selected [ D ] which showed all cities in Idaho starting with D, and then I chose [ Driggs ] from the list. Informative links are provided for each city…

Here you go, try it out! (Click with your mouse, don’t press your screen :-)

Keep in mind that this app is running in your browser, mobile app available here.

p.s. Click the [ ?? ] button to select a totally random city in the U.S. The randomness is quite unique! It incorporates the Fisher Yates Shuffle, an algorithm for generating a random permutation of a finite set…

Meditate on your next life changing destination and then press [ ?? ] – If the city you land on doesn’t resonate, click Home and try it again.

Published
Categorized as Android

Leave a comment