项目参考:http://huangqiqing123.iteye.com/blog/1927761 根据他的blog写了一个测试demo,下载地址:http://download.csdn.net/detail/maskice/9517674