Java vs. Android APIs
来源:互联网 发布:俄罗斯女人外嫁知乎 编辑:程序博客网 时间:2024/04/30 10:47
Google’s mobile phone platform, Android, supports a relatively large subset of the Java Standard Edition 5.0 library. Some things were left out because they simply didn’t make sense (like printing), and others because better APIs are available that are specific to Android (like user interfaces). This article lists what is and is not included.
Supported
The following standard packages are supported in Android as of the latest release candidate. Consult the Java 2 Platform Standard Edition 5.0 API documentation for information on how to use them.
- java.io - File and stream I/O
- java.lang (except java.lang.management) - Language and exception
- support
- java.math - Big numbers, rounding, precision
- java.net - Network I/O, URLs, sockets
- java.nio - File and channel I/O
- java.security - Authorization, certificates, public keys
- java.sql - Database interfaces
- java.text - Formatting, natural language, collation
- java.util (including java.util.concurrent) - Lists, maps, sets, arrays, collections
- javax.crypto - Ciphers, public keys
- javax.net - Socket factories, SSL
- javax.security (except javax.security.auth.kerberos, javax.security.auth.spi, and javax.security.sasl)
- javax.sound - Music and sound effects
- javax.sql (except javax.sql.rowset) - More database interfaces
- javax.xml.parsers - XML parsing
- org.w3c.dom (but not sub-packages) - DOM nodes and elements
- org.xml.sax - Simple API for XML
Not supported
These packages, normally a part of the Java 2 Platform Standard Edition,
are not supported by Android.
- java.applet
- java.awt
- java.beans
- java.lang.management
- java.rmi
- javax.accessibility
- javax.activity
- javax.imageio
- javax.management
- javax.naming
- javax.print
- javax.rmi
- javax.security.auth.kerberos
- javax.security.auth.spi
- javax.security.sasl
- javax.swing
- javax.transaction
- javax.xml (except javax.xml.parsers)
- org.ietf.*
- org.omg.*
- org.w3c.dom.* (sub-packages)
Third party libraries
In addition to the standard libraries listed above, The Android SDK
comes with a number of third-party libraries for your convenience.
- org.apache.commons.codec - Utilities for encoding and decoding
- org.apache.commons.httpclient - HTTP authentication, cookies, methods, and protocol
- org.bluez - Bluetooth support
- org.json - JavaScript Object Notation
- Java vs. Android APIs
- android APIs
- Web APIs vs APIs for Web-based OS
- Android NDK Stable APIs
- Android APIs - Package Index
- Android NDK Stable APIs
- Android 5.1 APIs概述
- Android 新Apis
- Android Path相关APIs
- Java APIS Specifications
- APIs
- Android Vers & its APIs、CuteName
- android goole apis安装记录
- android USB host APIs中文翻译
- java APIs in a birdeye
- Java SDK & APIs & Tools & ... URLs
- Netty and Java NIO APIs
- Java 8:Date-Time APIs
- 单独执行某个条件,增加单独执行按钮
- 如何限制CRichEditCtrl换行
- tomcat不安装版配置说明
- 在驱动和应用程序间共享内存
- 垃圾短信的源头找到了该如何办?
- Java vs. Android APIs
- 美欲打造世界最大超级邮轮 相当于13个泰坦尼克
- strdup函数简介
- Lambda表达式
- 公关公司面试经历
- 读写某个设备上的寄存器的过程
- USB开发步骤之软件篇
- Java基本的程序设计结构(二)
- DHCP服务器配置---学习笔记