简体   繁体   中英

Which Java classes are usable when developing native Apps in Android?

It's said in the title. which Java Classes can I use when developing Android apps. Are there any exceptions, can I use the lot of the Java Library, like the whole of the standard Edition?

You can use all classes listed in the Android API for your desired API level (which corresponds to Android releases).

The Android API is roughly based on the Java SE API, but it is missing a few parts and has added significant parts of its own API.

Knowing the Java SE API can certainly help, but you shouldn't assume that everything in there is available on Android.

You can almost use all the Java Classes. The only thing you need to be aware of is that you can't use any Graphical and UI classes as Swing and AWT. Else it's pretty much the same.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM