我有3 的ImageView
s的活动和按钮
。点击的ImageView
显示了 AlertDialog
与图像的列表(位于 / RES /绘制
),用户可以选择。
I have a activity with 3 ImageView
s and a Button
. Clicking on the ImageView
shows an AlertDialog
with a list of images (located in /res/drawable
) that the user can select.
我已经打了一堵墙,我不知道如何将图像存储在的ImageView
取值被选中的数据库。
I've hit a wall where I don't know how to store the images to the database that were selected in the ImageView
s.
任何指针?
我觉得preferred解决方案是将存储图像的SD卡上,并存储在数据库中的文件路径
I think the preferred solution is to store the images on the SD card and store the file paths in the database