Android 基础(二)、SDK中重要的pacakages(包)

本文介绍了Android SDK中的关键Java包,包括核心Java语言类、输入输出能力、网络连接、实用工具类等。此外还详细列举了Android特有的包及其功能,如应用程序模型访问、数据访问与发布、图形绘制等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

android SDK中重要的java packages

  1. java.lang:
    core Java language classes
  2. java.io:
    input/output capabilities
  3. java.net:
    network connections
  4. java.util:
    utility classes. This package includes the Log class used to write to the LogCat.
  5. java.text:
    text handling utilities
  6. java.math:
    math and number manipulation classes
  7. javax.net:
    network classes
  8. javax.security:
    security related classes
  9. javax.xml:
    DOM based XML classes
  10. org.apache.*:
    http related classes
  11. org.xml:
    SAX based XML classes

android specific packages

packages解释
android.appAndroid application model access
android.contentaccessing and publishing data in Android
android.netcontains the Uri class, used for accessing various content
android.graphicsgraphics primitives
android.openglOpenGL classes
android.ossystem level access to the Android environment
android.providerContent Provider related classes
android.telepehonyTelephony capability access
android.textText layout
android.utilcollection of utilities for text manipulation, including XML
android.viewUser interface elements
android.webkitBrowser functionality
android.widgetmore user interface elements

some packages绝对依赖于安卓应用环境

android.app
android.view
android.content

optional packages

GPS
Bluetooth
IrDA(红外数据组织)
WiFi

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

猎羽

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值