No problem, I will find it out!
On May 6, 2:41 pm, Dianne Hackborn <[email protected]> wrote:
> You need to statically link it into your app (sorry I can't help with
> exactly how to do this with ADT, I do my work in the platform build system).
>
>
>
>
>
> On Tue, May 5, 2009 at 11:37 PM, quill <[email protected]> wrote:
>
> > Hi Dianne,
> > I have try this, just to
> > import com.example.android.notepad.NotePadProvider;
> > but eclipse shows me an error.
>
> > On May 6, 2:31 pm, Dianne Hackborn <[email protected]> wrote:
> > > Link the NotePadProvider class into the second application and just use
> > it
> > > the same way as you would in the original app.
>
> > > On Tue, May 5, 2009 at 11:22 PM, quill <[email protected]> wrote:
>
> > > > Hi all,
> > > > I hava build a notepad application just like the notepad sample in
> > > > sdk.It has a NotePadProvider.
> > > > Now in another application I want to insert or delete a record in
> > > > notepad database, how should I do this? Can I use NotePadProvider?
> > > > how?
>
> > > > I know that how to insert a record in contacts:
> > > > ContentValues person = new ContentValues();
> > > > person.put(Contacts.People.NAME, "android");
> > > > getContentResolver().insert(Contacts.People.CONTENT_URI, person);
> > > > I just want my notepad can realize this!
>
> > > > Anyone knows?
> > > > Thank you in advance!
>
> > > --
> > > 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.- Hide quoted text -
>
> > > - Show quoted text -
>
> --
> 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.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---