讲的很详细: http://blog.csdn.net/congcong68/article/details/46841075 http://blog.csdn.net/congcong68/article/details/46919227