我可以在 PersistentStore 中存储图像吗?这是可取的吗?你的经验是什么? 我想存储图像 什么是更好的文件系统或 persistentstore?它的优点和缺点是什么?
最佳答案
Can i store images in PersistentStore?
是的,这是可能的。您可以使用 Bitmap.getARGB 方法获取位图的字节数组。然后将其内容存储在 ByteVector 中。 can bitmap be saved to persistent store?
What is your experience?
- 用户可以从文件系统中删除文件。
- 文件系统读/写比持久存储慢。
关于image - BlackBerry-在 PersistentStore 中存储图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6409348/