Skip to Content
0
Former Member
Jul 19, 2012 at 11:05 AM

Camera not working on Hybrid workflow app

17 Views

Hi All,

I am trying to open camera from Hybdrid workflow app, but i am getting error as: customGetPictureError result: -4

i created one button on screen and setted button key as 'takePhoto' and button type as 'custom'.

and in custom.js i wrote following code

function customAfterMenuItemClick(screen, menuItem)

{

if (menuItem == "takePhoto")

{

customGetPictureURIFromCamera();

}

}

When i open the app from workflow container i am getting error as: customGetPictureError result: -4

I am trying on Android mobile version (2.3.4)

SUP Version : 2.1.2

Can anyone help me to resolve the issue.

Thanks & Regards

Saket