Script for first charge sqlite Xamarin Android

0

I need to create a first load script for our application, the problem and that we have two BLOB fields in our table, it is very large with this would like to see the best way to implement this first load?

    
asked by anonymous 06.07.2015 / 22:20

1 answer

0
Hello, the BLOB database load (probably image right?) I advise switching to string by setting a path of that file inside the platform.

You implement a method to find the path where you should save this data and you're done. I do not find it interesting to save the image or ANY OTHER ARCHIVE inside the sqlite.

If the user deletes the file, you simply download it again:)

But if you insist on doing so, ideally you should use small, low-resolution images (or files with very little data) and load them by placing the byte array directly within your class / script.

To read a little more of xamarin at our blog Studyxnet :)

    
11.09.2015 / 20:16