Hello Macro,

In order to let other applications to use your database, you need to
create content provider. By the help of content providers you can
indicate/let which parts of the database can be used by others.

Please take a look at the following link;
http://code.google.com/android/devel/data/contentproviders.html

-sarp

On Apr 22, 12:40 pm, Macro <[EMAIL PROTECTED]> wrote:
> There is a flag named OPEN_READWRITE in SQLiteDatabase,
> but how to use it in SQLiteDatabase.create()?
> In the document it said that OPEN_READWRITE is default, but while I
> create an database use SQLiteDatabase.create(String path), the other
> application cann't write it?
>
> How to create an database can be read/write by all application?
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to