android SDK中重要的java packages
- java.lang:
core Java language classes - java.io:
input/output capabilities - java.net:
network connections - java.util:
utility classes. This package includes the Log class used to write to the LogCat. - java.text:
text handling utilities - java.math:
math and number manipulation classes - javax.net:
network classes - javax.security:
security related classes - javax.xml:
DOM based XML classes - org.apache.*:
http related classes - org.xml:
SAX based XML classes
android specific packages
packages | 解释 |
---|---|
android.app | Android application model access |
android.content | accessing and publishing data in Android |
android.net | contains the Uri class, used for accessing various content |
android.graphics | graphics primitives |
android.opengl | OpenGL classes |
android.os | system level access to the Android environment |
android.provider | Content Provider related classes |
android.telepehony | Telephony capability access |
android.text | Text layout |
android.util | collection of utilities for text manipulation, including XML |
android.view | User interface elements |
android.webkit | Browser functionality |
android.widget | more user interface elements |
some packages绝对依赖于安卓应用环境
android.app
android.view
android.content
optional packages
GPS
Bluetooth
IrDA(红外数据组织)
WiFi