hi, as we can see this query is an abstract method and the implementation of this method will be defined in the classes that extend this contentprovider class.
you can check out different provider implementations for the definition of this method. On Mar 17, 7:24 am, a a <harvey.a...@gmail.com> wrote: > Dear All, > > I am now reading contentProvider.java( under the > base/core/java/android/content) > > Ln 127 looks following: > > public Cursor query(Uri uri, String[] projection, > String selection, String[] selectionArgs, String sortOrder) { > enforceReadPermission(uri); > return ContentProvider.this.query(uri, projection, selection, > selectionArgs, sortOrder); > } > > I'm really confused about that contentProvider invoke this.query() > > Ln 444 > public abstract Cursor query(Uri uri, String[] projection, > String selection, String[] selectionArgs, String sortOrder); > > Ln444 is Nothing to do the query(....), it seams this is only declare, > not yet implement. > > where is it implement? How can i find it? anyone can tell me? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en