Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save Image #3

Open
DivyeshKevadiya opened this issue May 11, 2019 · 1 comment
Open

Save Image #3

DivyeshKevadiya opened this issue May 11, 2019 · 1 comment

Comments

@DivyeshKevadiya
Copy link

How to save image in android room database?

@BobbyBriQz
Copy link

You would have to save the image file to local storage first and then retrieve the image path and image name, these two can be stored on separate columns in your room database.

To retrieve the image use the path and name and standard file io operations.

I have a similar project where this was done, hit me up if you need the code repo link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants