Simple Code


public void onBackPressed() {

if (chatChanged == "1") {
 chatChanged = "2";
 } else {
 if (flipView.getDisplayedChild() == 1) {

} else if (flipView.getDisplayedChild() == 0) {



I added this to both apps today. I came up with it last night when I was trying to fall asleep. It made me remember how just a few months ago something like this simple code was really difficult for me to use. I really like how much better I’m becoming, and it’s exciting that I have a shit load more to learn. Can’t wait to have that knowledge.

I also added analytics to both apps. It’s going to be very interesting to see how people use these HDTV apps.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s