1. Alan Rice
  2. PowerServer Mobile (Obsolete)
  3. Friday, 25 January 2019 12:18 PM UTC

Hi, 

I have a strange issue with Appeon Mobile when taking photos on iOS.

The photo is taken and saved however just after taking the photo the image is cropped to a square image.

I cannot see why it is doing this and can't see any options for the "of_takefile" or "eon_mobile_str_cameraoption" (Documentation Link)

See screenshots attached. Any ideas?

 

Setup:

Powerserver 2017 R3 1858 with matching workspace.
Issue on iPad and iPad mini. iOS 10 and 12.

Sample PB Code:

Boolean 			lb_allowedit
integer 			li_filetype = 1 // 0 = video
int 				li_rc
eon_mobile_cameraex 		uo_camera
Exception			l_exception
eon_mobile_str_cameraoption 	lstr_option

uo_camera 	= 	CREATE eon_mobile_cameraex
lb_allowedit 	= 	true

/*
	li_rc
	1 	- 	Take a photo successfully
	2 	- 	Record a video successfully
	0 	- 	Cancel taking photo or video
	-1 	- 	It is called in PowerBuilder or Appeon Web, or there is an error
	
	(as_filepath will return the filepath, returns empty string if cancelled/error)
*/

li_rc = uo_camera.of_takefile(li_filetype, lb_allowedit, as_filepath)

if li_rc < 0 then
	l_exception = create Exception
	l_exception.SetMessage('Error in function of_take_photo of class n_camera')
	throw l_exception
end if

DESTROY uo_camera

return li_rc
Attachments (3)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 25 January 2019 19:19 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Alan;

   There might be a related issue to this problem in Ticket # 2140. Engineering confirms a fix for 2140 coming in PowerServer version 2019. Please download this next PS version coming out within the next week or two and see if your issue might also be resolved.

Regards ... Chris

Comment
  1. Alan Rice
  2. Monday, 28 January 2019 10:13 AM UTC
Hi Chris,



Thanks for the reply. I tried to search for the ticket number you mentioned on the standard support page but couldn't find it. Do you have a link for it?



Thanks,

Alan
  1. Helpful
  1. Alan Rice
  2. Monday, 28 January 2019 10:34 AM UTC
Hi,



I found it on the bugzilla one:

https://bugzilla.appeon.com/show_bug.cgi?id=2140



It doesn't sound like my issue as the problem describes it as a quality issue on Android, where as I'm having a crop issue on iOS. I will test with an Android device just to see, and then maybe with the new release. Failing that I'll submit this as a bug report.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 28 January 2019 15:12 PM UTC
Thanks Alan .. please let us know.
  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.