方法一 http://blog.csdn.net/wingbywings/article/details/7482764 方法二 http://blog.sina.com.cn/s/blog_a263f0c601012v6d.html