推荐两篇文章,写的不错,备忘之^^: 1) http://blog.csdn.net/tellh/article/details/71534704 2)http://gank.io/post/560e15be2dca930e00da1083