开发者

BlackBerry-Storing images in PersistentStore

开发者 https://www.devze.com 2023-03-13 22:00 出处:网络
Can i sto开发者_如何转开发re images in PersistentStore? is it advisable? What is your experience?

Can i sto开发者_如何转开发re images in PersistentStore? is it advisable? What is your experience? I want to store images what is better file system or persistentstore? what are its pros and cons?


Can i store images in PersistentStore?

Yes this is possible. You can use the Bitmap.getARGB method to obtain a byte array of the Bitmap. Then store its contents in a ByteVector. can bitmap be saved to persistent store?

What is your experience?

  1. From file system user can delete files.
  2. file system read/write is slower than persistence store.
0

精彩评论

暂无评论...
验证码 换一张
取 消