By compiling the Android source to get Class.jar contains a lot of Android's various API encapsulation classes.
Then you can get to a jar file that contains:
There are some classes you can't use, but let's make him a class we can use.
That's what you need to do.
The first step: Export the class file you want to extract
I extracted some of the class files from the OS,
Because there are some classes that I need .....
And then what......
Change class to Jar file
How does that change?
Reference: http://blog.sina.com.cn/s/blog_4d6854860100yypn.html
Because I was included in the folder together, so I used the
Two. Put all the class files under a folder into a jar package
Jar CVF Ibstool.jar * Enter
It's best to go into your directory and execute the command to generate the jar file in the directory.
Now see if the jar file is useful
Okay, so you can use it.
Note that the resulting jar is best in line with the path of the same class in Android ... Like Android.os. Class 1
You don't become Com.os. Class 1
Well, after the record is over, don't forget to continue working overtime MLGB ...
Android Beginner------Use Android to hide API