This content has been marked as final. Show 1 reply
Hi, the easiest way to work with images is to process them as base 64 string. You can store the image as a string in the local SQLite database, and then send it to server as needed. You can also display the image in Base64 string on client by simply set the source of the string = the EL expression that returns this base 64 string. ADF Mobile would automatically convert and display it.
The main drawback with Base 64 is that the image size/quality cannot be too large. There is no specific rule of thumb yet, but you may want to watch out for out of memory errors. If you do, you would have to increase the JavaME memory allocation set in cvm properties file. This switch is enabled in the GA version of ADF Mobile.