modified sample/luajavabridge: use project-life; added key press test codes