Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

manicoder/SaveImageToDatabaseSampleApp

Open more actions menu
 
 

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

 
 
 

Contributors

Languages

  • C# 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.