I am trying to develop an app on android using xamarin.
i just wanted to know where to store images.I mean which way is better, should i store images in DB or in a separate folder.
which one is better?
I was talking about images of products. for example:- i downloaded the ebay app today. app is very small in terms of size. but ebay has loads of images of the products.
Please explain.
2
Answers
Store your files in the folder name returned by this:
It will return the local folder of your app in internal storage:
Store them in Resource folders (build action AndroidResource) as described in the Xamarin.Droid docs.
Make different sizes of your image for different screen-densities and store them in seperate folders as described in the Android developer documentation.