this is a demo for android,copy from osc