Skip to content

A iOS and Android app that demonstrates how to download an image from a url and save it to a SQLite database

License

Notifications You must be signed in to change notification settings

wayousuf/SaveImageToDatabaseSampleApp

 
 

Repository files navigation

Build Status

Save Image To Database

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.

This app contains UITests. The UITests follow the recommended practice of Page Object testing. In the views, we've added an AutomationId to each control to show how UITest can interact with controls most efficiently, using their AutomationId. The test results from Xamarin Test Cloud are viewable here for iOS and here for Android.

UI Demo

About

A iOS and Android app that demonstrates how to download an image from a url and save it to a SQLite database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%