mystic-d wrote: > hey > im using the below code to create the database and its working fine, > except that when im watching the LogCat i saw the error msg : "Failed > to > open database file "/data/data/com.myAPP/database/DB.db" - unable to > open > database file" (i saw this under the "E" (ERROR) section) , > but as i saw it, it doesnt need to be like this because when im going > to > create new DB i will always failed to open the DB ... so why i need to > get the error msg at the LogCat ?
I've seen that too. My guess is that the exception is being caught within Android in the open-database logic but, for whatever reason, is still getting logged, even though Android handles the error internally by lazy-creating the database file it needs. The extraneous error message is probably a minor bug. Unless you're somehow seeing the exception make it into your own code, I wouldn't worry about it. -- Mark Murphy (a Commons Guy) http://commonsware.com The Busy Coder's Guide to Android Development -- coming in June 2008! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

