Thursday, October 22, 2015
Wednesday, October 14, 2015
Binder limits
Just hit a binder limit today through a pretty common problem:
I'm trying to save an image, and why not save the image as a byte array in SQLite3?
Doesn't sound like a good idea but , but it turns out it's impossible due to Binder's 1 MB transaction limit. As a result, it's a very bad idea to save image files in the SQLite database. Instead, the resources should be saved on disk.
I'm trying to save an image, and why not save the image as a byte array in SQLite3?
Doesn't sound like a good idea but , but it turns out it's impossible due to Binder's 1 MB transaction limit. As a result, it's a very bad idea to save image files in the SQLite database. Instead, the resources should be saved on disk.
Subscribe to:
Posts (Atom)