Add Android demo

Removed some useless code and made a little change for Android.