Hi, Some APIs in the source code are marked with a special tag called @hide. All fields, methods and classes marked @hide are considered private APIs and not part of the SDK.
On Fri, Jan 16, 2009 at 9:46 AM, Ian <[email protected]> wrote: > > Sorry for what may be a dumb question, but I'm trying to figure out > how to get source code for Android which actually matches the SDK. > For example, I'd like to get the camera app and build a customized > version that I can run on the G1. > > When I download the platform, the code I get doesn't build in the > SDK. For example, in Camera, I get this kind of thing (a lot): > > import android.database.Cursor; > . . . > Cursor c = getCursor(); > . . . > c.updateString(mContainer.indexTitle(), name); > > The Cursor I have in the SDK, and in the online docs, doesn't have an > "updateString" method (and lots of other methods that are referred to > - this is just an example). > > I tried getting the platform code with "-b release-1.0"; same result. > What's up with that? > > > -- 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

