質問

GreenDao. How insert image file (png) for example. What is the specify entity property (i can use "addByteArrayProperty"?). Thank you!

役に立ちましたか?

解決

Yes you can use addByteArrayProperty to store the raw bytes of your file. The file format doesn't matter, you only have to know how to deal with the raw data.

If you have files you could also store the path to the files on your device in your database.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top