1. Arturo Quiroga
  2. PowerServer Mobile (Obsolete)
  3. Monday, 27 July 2020 03:00 AM UTC

Hello everybody, I have a mobile application for Android and I have a problem displaying images in a datawindow object with a tableblob object, when I'm designing the datawindow object in the preview, the images show fine, but when I deploy the app and test it the images are in blank.

 

I attach 2 images, one with the preview working fine and the second one of the mobile app with the images in blank.

 

I hope you can help me thank you.

 

 

 

 

 

Attachments (2)
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 27 July 2020 03:08 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1
Comment
  1. Arturo Quiroga
  2. Sunday, 2 August 2020 00:22 AM UTC
I forgot it, the database is MySQL 5.7
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Sunday, 2 August 2020 05:24 AM UTC
Sorry, I don’t have experience with MySQL. Let’s see what other people say.
  1. Helpful
  1. mike S
  2. Sunday, 2 August 2020 16:36 PM UTC
in your select statement add a computed column called imagefile. It will just be a blank space (select ' ' imagefile, ... from tablename ...)



then select each blob file you want to display, and save it as a file and store the full path in the datawindow : yourdw.setitem( row, 'imagefile', ls_blobfilename)



you can use bitmap function to display it in another compute field, or use the display as picture option for your column (see "bitmapname" NOT "display as picture" in help because having it consistent with the name on the actual datawindow editor would make too much sense. )
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.