Xamarin Save Image varbinary into Xamarin.Android sqlite c#
up vote
0
down vote
favorite
I need to learn how to save image with SQlite on the Android.
Can someone help me with example to save Image to the Sqlite and then get it to the Imageview with C#.
c# android xamarin
add a comment |
up vote
0
down vote
favorite
I need to learn how to save image with SQlite on the Android.
Can someone help me with example to save Image to the Sqlite and then get it to the Imageview with C#.
c# android xamarin
generally most don't store image data in a database but rather store the URL to the image in the database. So once you have the image saved on your device as a file, get a url to the file and then store that in SQLite. Or see this forum post for using BLOB type to store image data in database directly: forums.xamarin.com/discussion/comment/242056/#Comment_242056
– jgoldberger - MSFT
Nov 20 at 2:19
Thanks i will check that, do you have any how to show it again? Sqlite to imageview
– Jonas
Nov 20 at 8:21
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to learn how to save image with SQlite on the Android.
Can someone help me with example to save Image to the Sqlite and then get it to the Imageview with C#.
c# android xamarin
I need to learn how to save image with SQlite on the Android.
Can someone help me with example to save Image to the Sqlite and then get it to the Imageview with C#.
c# android xamarin
c# android xamarin
edited Nov 19 at 10:50
Piyush
21.7k63066
21.7k63066
asked Nov 19 at 10:44
Jonas
496
496
generally most don't store image data in a database but rather store the URL to the image in the database. So once you have the image saved on your device as a file, get a url to the file and then store that in SQLite. Or see this forum post for using BLOB type to store image data in database directly: forums.xamarin.com/discussion/comment/242056/#Comment_242056
– jgoldberger - MSFT
Nov 20 at 2:19
Thanks i will check that, do you have any how to show it again? Sqlite to imageview
– Jonas
Nov 20 at 8:21
add a comment |
generally most don't store image data in a database but rather store the URL to the image in the database. So once you have the image saved on your device as a file, get a url to the file and then store that in SQLite. Or see this forum post for using BLOB type to store image data in database directly: forums.xamarin.com/discussion/comment/242056/#Comment_242056
– jgoldberger - MSFT
Nov 20 at 2:19
Thanks i will check that, do you have any how to show it again? Sqlite to imageview
– Jonas
Nov 20 at 8:21
generally most don't store image data in a database but rather store the URL to the image in the database. So once you have the image saved on your device as a file, get a url to the file and then store that in SQLite. Or see this forum post for using BLOB type to store image data in database directly: forums.xamarin.com/discussion/comment/242056/#Comment_242056
– jgoldberger - MSFT
Nov 20 at 2:19
generally most don't store image data in a database but rather store the URL to the image in the database. So once you have the image saved on your device as a file, get a url to the file and then store that in SQLite. Or see this forum post for using BLOB type to store image data in database directly: forums.xamarin.com/discussion/comment/242056/#Comment_242056
– jgoldberger - MSFT
Nov 20 at 2:19
Thanks i will check that, do you have any how to show it again? Sqlite to imageview
– Jonas
Nov 20 at 8:21
Thanks i will check that, do you have any how to show it again? Sqlite to imageview
– Jonas
Nov 20 at 8:21
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53372917%2fxamarin-save-image-varbinary-into-xamarin-android-sqlite-c-sharp%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
generally most don't store image data in a database but rather store the URL to the image in the database. So once you have the image saved on your device as a file, get a url to the file and then store that in SQLite. Or see this forum post for using BLOB type to store image data in database directly: forums.xamarin.com/discussion/comment/242056/#Comment_242056
– jgoldberger - MSFT
Nov 20 at 2:19
Thanks i will check that, do you have any how to show it again? Sqlite to imageview
– Jonas
Nov 20 at 8:21