Why do you want it in android.jar?  That is purely for the SDK, and you
shouldn't  be releasing custom APIs inside of android.jar, you should
provide them as a separate shared library.  For anything that doesn't like
with the SDK (such as most of the stuff compiled by the build system), there
is no need for anything to be in android.jar.

On Sun, Jul 12, 2009 at 11:17 AM, clemsongrad <[email protected]> wrote:

>
>
> Romain,
>
> That is a good point and in fact we will put them in a separate
> package.  Can you pl address the magic on how
> com.android,internal.util.Predicate.class is included in the
> android.jar?  Where is it specified on the files that needs to be part
> of the android.jar?
>
> Any help is greatly appreciated.
>
> Thanks
>
>
> On Jul 11, 10:21 pm, Romain Guy <[email protected]> wrote:
> > Hi,
> >
> > Even for your own modifications, please do not use the com.android
> > package name. Even though this package is reserved for private APIs,
> > your changes in this package might conflict with future changes made
> > in Android itself (core dev team or contributions to the project.)
> > Just use the package name corresponding to your company/organization.
> >
> >
> >
> > On Sat, Jul 11, 2009 at 7:46 PM, clemsongrad<[email protected]> wrote:
> >
> > > Folks,
> >
> > > I updated the android framework ( java code), and I was able to
> > > compile the new java classes and test it.  My issue is that i want to
> > > make some of the new  java classes part of the android.jar, and i am
> > > unable to figure out the best way to add it to be build file.
> >
> > > For example:
> > > I want to include another class just like
> > > com.android,internal.util.Predicate.class is included in the
> > > android.jar.
> >
> > > Any ideas on how to make this happen?   How and where do one indicate
> > > that the Predicate.class needs to be included in the android.jar?
> >
> > > Any tip is greatly appreciated.
> >
> > > Best Regards, and Thank you in advance.
> >
> > --
> > 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, where I and others can see and answer them
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to