posted app code

the .java file for the application.