Script for first load Xamarin Android sqlite

Asked

Viewed 111 times

0

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

  • 1

    I don’t understand what you’re trying to do. I could explain better?

1 answer

0

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

You implement a method to find the path where to save this data and you’re done. I don’t find it interesting to save the image or ANY OTHER FILE inside the sqlite.

In case the user deletes the file, you simply download again :)

But if you insist on doing so, the ideal is that you use small, low-resolution images (or low-data files) and do this by directly placing the byte array within your class/script.

To read a little more of Xamarin from a look at our blog Studyxnet :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.