There are very few private APIs that we will just expose, though --
everything that is hidden was deliberately made that way due to issues or
concerns over maintaining compatibility with it in the future.

On Fri, Jan 2, 2009 at 8:44 AM, Jean-Baptiste Queru <[email protected]> wrote:

>
> I'll add that we'll gladly accept high-quality patches that refactor
> the offending apps to only use SDK APIs (in which case
> android-platform is probably the best list), and that in legitimate
> situations we'll consider exposing the necessary APIs through the SDK
> (in which case this is the appropriate list).
>
> JBQ
>
> On 1/1/09, Dianne Hackborn <[email protected]> wrote:
> > You can do that, and your app can break at any point an OTA happens to
> the
> > phone.  Just don't do it.
> >
> > On Wed, Dec 31, 2008 at 4:49 AM, Kenneth Loafman
> > <[email protected]>wrote:
> >
> >>
> >> So, if I need something in the platform that's not in the public SDK, I
> >> can build against the platform instead of against the SDK?  I'm guessing
> >> this would be fairly risky for portability.  What other risks are there?
> >>
> >> ...Ken
> >>
> >> On Tue, 30 Dec 2008 21:17:52 -0800, "Dianne Hackborn"
> >> <[email protected]> wrote:
> >>
> >> >Yes it's the instructions there showing how to download (with repo) and
> >> >build the platform.
> >> >
> >> >On Tue, Dec 30, 2008 at 8:51 PM, jack <[email protected]> wrote:
> >> >
> >> >>
> >> >> Thanks Dianne for the quick reply.
> >> >>
> >> >> I am new to this... what exact does "building as part of the platform
> >> >> build" mean?  Is this already detailed on source.android.com?
> >> >>
> >> >>
> >> >>
> >> >> On Dec 30, 8:47 pm, "Dianne Hackborn" <[email protected]> wrote:
> >> >> > You need to build them as part of the platform build.  There are a
> >> >> > few
> >> >> > exceptions, but most of the apps that are part of the open source
> >> >> platform
> >> >> > have not yet been cleaned up to use only public APIs.
> >> >> >
> >> >> > On Tue, Dec 30, 2008 at 6:01 PM, jack <[email protected]> wrote:
> >> >> >
> >> >> > > I would like to compile the bundled apps (such as Camera).
> >> >> >
> >> >> > > I created a new Android project with the code from the Camera
> >> project
> >> >> > > downloaded from git.  It uses private APIs such as
> >> >> > > android.pim.DateFormat so it wouldn't compile.  Now, I pull in
> the
> >> >> > > whole source code for java.android.pim package but this again
> >> depends
> >> >> > > on a bunch of other packages.
> >> >> >
> >> >> > > What is the recommended way to compile such project?
> >> >> >
> >> >> > --
> >> >> > 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.  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.  All such questions should be posted on public
> > forums, where I and others can see and answer them.
> >
> > >
> >
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> >
>


-- 
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.  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-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to