|
Java:
1. java. lang package: the Core class library of Java, including the System Classes essential for running Java programs, such as basic data types, basic mathematical functions, string processing, threads, and exception handling classes, the system loads this package by default.
2. java. Io package: standard input/output class library of Java language, such as basic input/output stream, file input/output, filter input/output stream, etc.
3. java. util package: Java utility library java. util package. In this package, Java provides some practical methods and data structures. For example, Java provides the date (data) class and calendar class to generate and obtain the date and time, and provides the random number (random) class to generate various types of random numbers, stack, vector, bitset, and hashtable classes are also provided to represent the corresponding data structure. Contains the date class for processing time, the vector class for processing to an array, and the stack and hashtable classes.
4、java.util.zip package: Implements File compression.
5. java. Lang. Reflect package: provides a tool for reflecting objects
6. java. AWT. Image package: Java tool library for processing and manipulating images from the Internet
7. java. Wat. Peer package: rarely used directly in programs, so that the same Java program runs on different software and hardware platforms
8. java. Applet package
9. java.net package: class libraries that implement network functions include socket and serversocket.
10. java. CORBA package and Java. CORBA. Orb package
11. java. AWT. datatransfer package: tool class for processing data transmission, including clipboard and string Transmitter
12. java. AWT package: Class Library for building a graphical user interface (GUI), graphics class for low-level drawing operations, graphical interface components and layout management, such as checkbox class, container class, And layoutmanger interface, interface user interaction control and event response, such as the event class
13. java. AWT. Event package: Gui Event Processing Package.
14. java. SQL package: implement a JDBC class library
Android:
In the android class library, various packages are written as Android. *. The important packages are described as follows:
Android. app: provides high-level program models and basic runtime environments.
Android. Content: contains various classes for accessing and publishing device data.
Android. Database: browses and operates databases through the content provider.
Android. Graphics: The underlying graphics library, including canvas, Color Filtering, vertices, and rectangles, which can be directly drawn to the screen.
Android. Location: class for locating and related services.
Android. Media: Provides media interfaces for managing multiple types of audio and video.
Android.net: class that provides network access assistance, exceeding the normal java.net. * interface.
Android. OS: Provides system services, message transmission, and IPC Mechanisms.
Android. OpenGL: Provides OpenGL tools for 3D acceleration.
Android. provider: provides a class to access the content provider of Android.
Android. Telephony: provides API Interaction Related to dialing.
Android. View: provides a basic user interface framework.
Android. util: a tool-based method, such as time and date operations.
Android. WebKit: default browser operation interface.
Android. Widget: contains various UI elements (mostly visible) for use on the application screen.
For more information about the class library package, see:
Docs in the SDK-> reference-> packages.html
|