如何在Xamrin.Forms中的sqlite或xml数据库中存储本地图像路径 [英] How to store the Local image path in sqlite or xml database in Xamrin.Forms
本文介绍了如何在Xamrin.Forms中的sqlite或xml数据库中存储本地图像路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经下达了将图像路径存储在xml模式或sqlite数据库中的任务.我正在研究Xamarin.Forms PCL项目.我对如何在数据库中存储图像路径非常困惑.因为在android图像中应该将图像放置在Ressource/drawble中,ios图像应放置在Resources文件夹中.我阅读了此 xamarin.forms文档.但是没有获得如何获取路径并将其存储在数据库中的信息.请任何人提供任何资源或示例.
I have given task to store the image path in database either xml schema or sqlite database.I am working on Xamarin.Forms PCL project. I am very confused with how to store image path in database.because in android image should be placed in Ressource/drawble,ios image placed in Resources folder. I read this xamarin.forms documentaion. But not getting how to get path and store in database. Please anyone provide any resources or example.
推荐答案
这篇关于如何在Xamrin.Forms中的sqlite或xml数据库中存储本地图像路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文