hi, I am having an db file in res/raw/folder iam calling Resources.openRawResource() with the file name as R.raw.FileName and i get an input stream but i having an another db file in device i want to copy the contents of that db to the device db i am using BufferedInputStream bi = new BufferedInputStream(is); and FileOutPutStream but i get an exception that database file is corrupted ...any hints how to proceed further . i read the file using File and FileInputStream and the path as /res/raw/fileName ... but that also doesnt works ... Thnx in advance
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---