Examples now use close.

Also streamlined Activity and example app names so they are more consistent. 
It was intentional to have the Realm example code in the top of the file, and the android boilerplate in the end.