teaching machines

U and I :: Matthew Mitchell

November 16, 2012 by . Filed under cs491 mobile, fall 2012, postmortems.

For my U and I project I made an RGB color picker. I actually needed one of these for some web UI work I was doing, so it’s pretty cool that I was able to make one to my specifications.

A few features of the app:

For future iterations of this app, I would enable a Save functionality that allows you to name the color, and it’ll save the RGB values for you. A grid layout can show you all of the colors you have saved, and tapping on a color will show you the RGB values for it.

I would also optimize my code further so that color change requests would go through a controller…in an MVC-like structure. Right now, there are a ton of conditional statements to change text colors. It hurt my soul to write code like that, and I’m working on a fix for it.

Here are two screenshots illustrating my app:

Notice the white text

Notice the black text