C cognito Member Licensed User Longtime User Oct 14, 2012 #1 Hi Everybody. Can please somebody help. I am making a little database sqlite and everything seems fine till the installation comes up on device, then it states io.Io exception on line 36 (java) dbutils(copydbfromassets). Any advice please?:sign0104:
Hi Everybody. Can please somebody help. I am making a little database sqlite and everything seems fine till the installation comes up on device, then it states io.Io exception on line 36 (java) dbutils(copydbfromassets). Any advice please?:sign0104:
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2012 #2 If the database size is larger than 1mb then you are hitting an Android bug related to decompression of asset files. The (ugly) solution is to rename the database file extension to .jpg. Upvote 0
If the database size is larger than 1mb then you are hitting an Android bug related to decompression of asset files. The (ugly) solution is to rename the database file extension to .jpg.
C cognito Member Licensed User Longtime User Oct 14, 2012 #3 Erel, thank You, it was actually larger then 1MB, I will try with .jpg ext. Upvote 0
C cognito Member Licensed User Longtime User Oct 14, 2012 #4 Hi, here is some feedback, I tried .jpg, and was able to see data, after few clicks it broke and said tha does not see the table that was in the sqlite with another extension. Any thoughts on that? Upvote 0
Hi, here is some feedback, I tried .jpg, and was able to see data, after few clicks it broke and said tha does not see the table that was in the sqlite with another extension. Any thoughts on that?
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2012 #5 It is not related to the file extension. This is a different issue. Check your code... Upvote 0