25

You can access the camera from a Salesforce1 app, using the HTML <input> tag with accept="image/*" to access either the camera or photo library, for example <input id="photoFile" type="file" accept="image/*"/> You can then use the HTML5 File API to upload image data. Here's an example using the Force.com REST API - you would change this to ...


5

You can do this, although you don't scan the code, rather you take a picture and attempt to process it. I've written a blog post on how to do this at: http://bobbuzz.me.uk/1fJ12Xw You can do it all on device using the jsqrcode JavaScript port of google zebra crossing (zxing). I couldn't get it working on a phone (presumably down to lack of processing ...


4

No, the Authenticated Website User Licenses are only meant to be used with Force.com sites. You will not be able to use it with a connected app regardless of whether your hybrid app is built directly using PhoneGap/jsForce or you use the Mobile SDK. You can read more about the authenticated website user licenses here.


3

You need to map the image in your config.xml such that it (all density versions) will end up in the correct the Android app res folder. For example: If I store my notification icons (ic_notification.png) in density dependent folders (/res/android/drawable-{DENSITY}/ic_notification.png) then I would need to map those images like this: <platform name="...


3

At the time of this answer, the HTML5 draft allows access to camera hardware, although no mobile browsers currently support accessing the camera (see caniuse.com for current browser support). Since no support is available at the time this answer was posted, one must resort to a mobile framework that supports camera access, such as phonegap, whose purpose ...


3

You'll need to build your apps locally for now. PhoneGap Build doesn't have support for the SmartStore or OAuth plugins included with the Salesforce Mobile SDK. Once the SDK is updated to a newer version of cordova, perhaps the cordova plugins could be submitted as PhoneGap Build plugins.


2

As part of your question, you mentioned "if I could do this using salesforce1 mobile app for iPhone/Android with a visualforce page and access the camera" This is possible to do using Visualforce if you are using the Mobile SDK container. As sfdcfox points out, mobile browsers current do NOT offer this capability - neither does Salesforce1. On the ...


1

I have solution about icon. You have to rename your icon image as 'sf__icon.png' and paste that file to all the resource folders. Then just run your project. The icon image will be changed.


1

I highly recommend using Oauth flow as it is super secure . Salesforce also provides option that you can put your own logo in login screens https://help.salesforce.com/apex/HTViewHelpDoc?id=domain_name_login_branding.htm&language=en_US But then if you are looking for other options there is one from Brian below in his github http://brianpeddle.com/...


Only top voted, non community-wiki answers of a minimum length are eligible