Hi guys!

When i execute this:

database.execSQL(String.format("ATTACH DATABASE '%s' as %s",
basicDataDb.getAbsolutePath(),
        
BasicDataDbUtils.BASIC_DATA_DATABASE_ALIAS));

i don“t know if the database was attached before...how can i verify
this? because if i try to execute "ATTACH DATABASE" again, throws an
exception saying: database in use...

-- 
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

Reply via email to