参考demo http://www.cnblogs.com/mythou/p/3280023.html
项目源码:
https://github.com/weifengzz/AndroidJSGetQRCode