bvdev wrote: > Does the API restrict you from attaching to another database while you > have one open? > > I tried the SQLite3 command "attach database .../contacts.db as > aliasdb" > > This works in the adb shell and I'm able to perform joins with tables > in this database. > When I use the same command via the API using "db.execSQL(attach > database .../contacts.db as aliasdb)" > it gives me failure 14. > > Is this restricted on purpose or am I making a mistake somewhere?
14 is SQLITE_CANTOPEN -- are you sure you have permissions to access that database from your application? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

