> I would like to check whether there is any direct API available to check > whether a particular Database exists or not ? > > Currently, to initialize data for the first time (not repeatedly), we try > of > open the db and if it fails we know the database does not exists otherwise > it is already created and initialized. > > Is there any simple API available to check whether DB exists or not ?
Use SQLiteOpenHelper instead of opening the database yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---