How to upload and retrieve image using sqlite databse RRS feed

  • Question

  • User382872 posted

    My question is in Xamarin.Forms using the SQLite database can upload an image and retrieve it to the same place(like a profile picture).

    I look through google but I couldn't find anything like this is this possible to do in xamarin.Forms using SQLite local database

    Thursday, February 28, 2019 8:17 AM


  • User321643 posted

    There are a few forum posts that can help with that here if you like:

    https://forums.xamarin.com/discussion/135898/how-to-save-and-retrieve-image-from-SQLite https://stackoverflow.com/a/41311200/5957162

    However, it is recommended that images be stored within the Resources folder of the application, here is an example of creating a FileService to store images in Xamarin.Forms:


    Although there are indeed ways of storing image data into SQLite, it can cause a performance hit when needing to continually download and retrieve images in the long run. Utilizing the local storage space of each device can help increase performance and stability when dealing with larger images.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, February 28, 2019 11:45 PM