But org.apache.harmony.* are packages rather than APIs. If there are no such packages included in android.jar, how can these packages be imported by other java code?
Thanks. On 12月16日, 下午5时46分, Romain Guy <[email protected]> wrote: > Because these are private APIs so they are not available in android.jar. > > > > On Wed, Dec 16, 2009 at 1:42 AM, EricWang <[email protected]> wrote: > > when I look at the source code of Android, some of them will import > > org.apache.harmony.*. > > For example, in ObjectInputStream.java, it contains "import > > org.apache.harmony.kernel.vm.VM" > > But I cannot find the package of "org.apache.harmony" within > > android.jar. > > Also, it contains "import java.io.EmulatedFields.ObjectSlot", which I > > cannot find in android.jar either! > > Who can tell me why? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Romain Guy > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums,whereI and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

