- Android is based on Java, NOT J2SE, so there is no Swing and AWT classes in Android.
- "J2SE for Android" provides Swing and AWT classes and API, so you can run J2SE application on Android with this library.
- "J2SE for Android" implements most functions, NOT all.
- before using files in src directory, please read and agree the license file "license.txt".
- the file "dx.jar" is belong to Android Open Source Project, and is licensed under the Apache License, Version 2.0.
- this library is based on library of HomeCenter, please download it from https://github.com/javalovercn/homecenter
- this is NOT an Android project, and there is no Activity in it, you should create new Android project and include this library.
- an instance of Activity and res are required by this library, please invoke "hc.android.J2SEInitor.init(Object[] paras)" in construction and pass them in. For more detail, see method "init".
- the files in res directory should be copied to your res directory of Android project.
- you can't dex if there is class in package "java" or "javax" without option "--core-library".
- the file "dx.jar" is removed the check code for "--core-library", so it is not required to set option "--core-library" in Eclipse to debug your project.
- copy a backup of original dx.jar of your ADT, replace [adt-home]/sdk/build-tools/android-X.X/lib/dx.jar with this dx.jar.