Demo from the Android Source code, make it can run independable.