两个貌似差不多,都不错:
http://blog.csdn.net/sunboy_2050/article/details/6727581
http://www.cnblogs.com/playing/archive/2010/08/11/1797696.html
防止反编译:
http://blog.csdn.net/sunboy_2050/article/details/6727640