Forum Post: RE: How to send photos from mobile app back to Progress database?

  • Thread starter Thread starter Phillip Molly Malone
  • Start date Start date
Status
Not open for further replies.
P

Phillip Molly Malone

Guest
Have tested this out. Was able to send the output of the Camera service back to the AppServer (didn't save it into the database but stripped the first 24 chars (which note that its data, a JPG and in base64), decoded it with the base64-decode and then used copy-log to copy the resulting Memptr to an image file and it works). I used a CLOB field in a temp--table for the data. I first tried blob but it failed plus the output of the Camera control was string. You would have to decide if to store in your database the encoded or decoded and if to strip the leading character when storing it in the database or when writing it to windows file (as the web can show it with those chars). Not sure if this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top