Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much of the Java 6 API is implemented by Android?

Tags:

java

android

I want to port an small open source AES encryption class to Android, and it would cut my work down a lot if the API of Android is as close as possible to the Java 6 API.

How much is implemented (or referenceable), as I have tried searching about this on google, and i have not yet come up with anything useful?

like image 303
warsong Avatar asked Jul 07 '09 08:07

warsong


3 Answers

Have you checked the Java library reference on http://developer.android.com/reference/ ?

like image 21
Christoffer Avatar answered Oct 18 '22 14:10

Christoffer


IMHO In general Java 6 works. The compiler does the work for you.

Re self implementing encryption: Please try using Bouncy Castle. In general, self implementation of any known crypto algorithm isn't a good idea.

like image 96
tuergeist Avatar answered Oct 18 '22 13:10

tuergeist


The compile progress of android project is like that, first compile the source code with java compiler(mainly on SE 5.0 API ) into java byte code as .class file, and such class files will be compiled continuously by dalvik VM into dalvik byte code .dex file. When the app runs, it is in fact .dex running on dalvik vm.

like image 24
jowett Avatar answered Oct 18 '22 15:10

jowett