Dear All,
My SAPUI5 application is OK on Chrome as well as on mobile emulator. But it is not displaying the picture on the mobile device. It is a master detail application like "People Profile". The OData service and the application are in ABAP Repository. While I am running it on iPhone 6 using Fiori Client I am getting the following error:
2016-08-09 06:24:30 +0000 GMT+0800 (GMT+8) offset 28800 SMP_AUTH_PROXY DEBUG dealloc 2016-08-09 06:24:30 +0000 GMT+0800 (GMT+8) offset 28800 SMP_AUTH_PROXY DEBUG stopLoading, stop http://IP:8000/sap/opu/odata/sap/ZUSER_P1_SRV/USERSet(Pernr='00000001')/$value, elapse: 75.0 2016-08-09 06:24:30 +0000 GMT+0800 (GMT+8) offset 28800 SMP_AUTH_PROXY ERROR URLSession:task:didCompleteWithError:, -1001, Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x148d7b9e0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=60, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://IP:8000/sap/opu/odata/sap/ZUSER_P1_SRV/USERSet(Pernr='00000001')/$value, NSErrorFailingURLKey=http://IP:8000/sap/opu/odata/sap/ZUSER_P1_SRV/USERSet(Pernr='00000001')/$value, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=60, NSLocalizedDescription=The request timed out.}
Here is the corresponding code of view for Image and name. The name is being displayed but not the image.
<comlayout:MatrixLayout layoutFixed="false"
columns="4"
width="100%"
widths="4%,12%,2%,82%">
<comlayout:MatrixLayoutRow>
<comlayout:MatrixLayoutCell>
<Label text=""/>
</comlayout:MatrixLayoutCell>
<comlayout:MatrixLayoutCell>
<Image src="http://IP:8000/sap/opu/odata/sap/ZUSER_P1_SRV/USERSet(Pernr='{Pernr}')/$value"
densityAware = "false"
height="100px">
</Image>
</comlayout:MatrixLayoutCell>
<comlayout:MatrixLayoutCell>
<Label text=""/>
</comlayout:MatrixLayoutCell>
<comlayout:MatrixLayoutCell hAlign="Left">
<Label text="{Firstname} {Lastname}"/>
</comlayout:MatrixLayoutCell>
</comlayout:MatrixLayoutRow>
</comlayout:MatrixLayout>
Would you please advise how to solve the problem of displaying image?
Thanks in advance.
Best Regards,
-Zia