Merge pull request #89 from DIdiHL/chenxi

grant permission for snorelab
Make sure file exist before creating an output stream.
Merge branch 'development' of https://github.com/DIdiHL/plugin_android_library into hanlin
Merge pull request #90 from DIdiHL/hanlin

Hanlin check for file existence.
modify mocksana to launch snorelab