Hi, You can´t access a database from a different application that didn´t create the database. If you want to share data among applications, you should take a look at the content providers, which were designed for that specific need.
More information can be found at: http://code.google.com/android/devel/data/contentproviders.html Juan psaltamontes ha escrito: > Hi. > > Is possible open a database from another application which doesn't > create this database?. > > I try from the application that doesn't create the database: > > path_database = "/data/data/umem.uab/databases/datos_generales.db"; > > data_base = openDatabase(path_database, null); > > I receive the exception: > > IllegalArgumentException on: File /data/data/umem.uab/databases/ > datos_generales.db contains a path separator. > > The path is correct, I have checked. > > Could I have problems with the permissions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

