function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Omkar11Omkar11 

Access mobile camera VF page

Hi,

 

I want to access mobile camera from salesforce VF page to capture photo and save it in salesforce object.

 

Please help me. Thanks in advance.

 

OM

bob_buzzardbob_buzzard

You'll need to create a hybrid application using phonegap for this - the native functionality such as the camera isn't availble in javascript (apart from one or two android phones I believe).

 

There's a wiki page covering exactly this topic at:

 

http://wiki.developerforce.com/page/Developing_Hybrid_Apps_with_the_Salesforce_Mobile_SDK

Omkar11Omkar11

Hi Bob,

       Actually I want to create VF page such that, laptop/ Mobile/ Tablet user can access respective camera of their devices to capture photo.

 

I am able to do this for laptops/ computers with camera, using the flash player. But the mobile/ tablet browser does not support it.

 

Please suggest. Thank you.

 

OM

Jes@NZJes@NZ
Hi Omkar

Did you find any sollution, I'm having the same problem.

Thanks
Jes