Blob provide a clear benefit on devices too. It allows to reduce the size 
of the database when you have large objects to store (not necessarily 
pictures. It can be geographic shapes like in spatialite for example or any 
other large object) and these objects can also be deserialised more quickly 
than if beeing stored as plain text objects (like json or xml)
Nowadays, most developpers actually use byte buffers to handle objects 
communication and storage (see protobuf, thrift, avro, messagepack...) on 
the server AND on the device.
Competitors frameworks like flutter support BLOB SQLite type just well 

On Wednesday, April 3, 2019 at 5:49:33 AM UTC+2, Shai Almog wrote:
> It's a bit problematic to implement that API on iOS and most developers 
> used workarounds since blobs aren't as necessary on devices.
> Unlike servers where the DB is distributed/clustered. On a device a blob 
> provides no benefit and can impact performance. You are better off storing 
> a file URI.

You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to