This is a simple application meant to demonstrate the use of fragments.  In landscape mode it displays to 'sides' next to each other and in portrait mode it implements the sides as two activities.  It shows one way to communicate between activities and fragments.  It also demonstrates use of display.getOrientation to detect change of device orientation.