why no accessing contacts.db by ContactsProvider directly?
If any changed , using ContentObserver to receive changes.
On 8月11日, 下午1時13分, Acchao wrote:
> What's the most convenient way to share adatabaseacross
> applications?
> For example, I want my application's dbadapter to query theandroi
How to make a "custom content provider"? Can you give me an example?
Now I am trying to extend ContactsProvider, because it can't give me
the approach to the last modified contact record. So I wonder if I can
create a "custom contact provider".
Or anyone knows how to find out the last modified c
My suggestion'd be to go for the custom content provider.
That'd make things much easier for u...
But thats me. It depends on ur application & its current architecture.
On Tue, Aug 11, 2009 at 10:43 AM, Acchao wrote:
>
> What's the most convenient way to share a database across
> applications?
>
> but the database has to be in the path of the application package or
> can be in another path of the filesystem?
Generally speaking, you do not have access to "another path of the
filesystem".
> for example, can I access to a database created in gears (the path
> would be com.android.browser/g
but the database has to be in the path of the application package or
can be in another path of the filesystem?
for example, can I access to a database created in gears (the path
would be com.android.browser/gears/...)
thanks a lot
On May 15, 2:46 pm, "Mark Murphy" wrote:
> > Anybody knows
> Anybody knows if we can share databases between applications? How can
> I access to a database from an A application to another B application?
>
> It is possible? What uri I would have to put?
The preferred way to do this is by creating a ContentProvider to make data
in one project available to
6 matches
Mail list logo