Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Latest commit

 

History

History
11 lines (6 loc) · 903 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 903 Bytes

Xamarin

SaveImageToDatabaseSampleApp

This sample app demonstrates how to download an image from a url and save it to a local SQLite database.

DownloadImageAsync() shows how to download the image as a byte[] from a URL using HttpClient.

The database model stores the image as a byte[]. When the image is retrieved from the database, it is converted from a byte[] to a Xamarin.Forms.ImageSource.

UI Demo