Other platform (mobile) lets say B4A or android-java, cordova or whatever, makes a request to CUBA REST-API and takes in return a JSON, lets say Routes. I write this JSON to SQLite database, property by property. Run through this table and create a related record in other table with some info, results and a Photo. This foto is stored in mobile.
Finally, the “result” entities are sent to CUBA via REST-API. How can I return each photo attached to result?
In SQLite “result” table exist string property with attached Photo name, but CUBA “result” entity uses a filedescriptor property.