on 07-19-2012 12:05 PM
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
Solved...!!!
The same code works on iphone, it should work on android as well which will be higher version like 3.0..
Note: Camera will work only with Button not with Menu Item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saket,
How do you read the URI after camera is launched.
Like suppose if there is a usecase in which we need to capture the image and then store in the database and then read it at a later stage. Is it possible to do that.
Can you please advice. I am very new to workflow.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.