Scan QR code and take photos using web app

Hi,

In one of our small project, we are planning to use web apps to collect
data. We need your advice on followings.

  1. can we connect CommCare with any external QR code reader? if yes please
    provide guidance on that.
  2. can we connect CommCare with Laptop camera/webcam of the system in order
    to capture photos? if yes please provide guidance on that.

Thanks,
Vipin Gupta

Hello,

Unfortunately Web Apps does not support either of those functionalities.
For QR Code the closest you could get would be to scan the code using your
external reader, then enter the resulting string into a text field in web
apps.

Cheers,
Will

··· On Thu, Oct 5, 2017 at 8:48 AM, Vipin Gupta wrote:

Hi,

In one of our small project, we are planning to use web apps to collect
data. We need your advice on followings.

  1. can we connect CommCare with any external QR code reader? if yes please
    provide guidance on that.
  2. can we connect CommCare with Laptop camera/webcam of the system in
    order to capture photos? if yes please provide guidance on that.

Thanks,
Vipin Gupta

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vipin,

On a desktop system, most USB/Bluetooth QR Code Readers will provide their
input simply as a string of input from a Keyboard, so using CommCare's
mobile QR code scanning capabilities won't be necessary.

If you want an app which functions equivalently on Mobile and Web, when
structuring your forms I'd recommend following a pattern where each QR
input looks like:

  • input_qr: QR Code Scan
  • input_manual: Text Entry
  • input_normalized: Hidden Value

Where input_manual has a display condition where it is hidden when input_qr
isn't blank and the "normalized" hidden value is set to whichever input
isn't blank.

That will let you have a way to provide a QR scan which will work with
either the mobile phone camera, or an external keyboard driven QR reader on
web apps.

-Clayton

··· On Thu, Oct 5, 2017 at 8:56 AM, William Pride wrote:

Hello,

Unfortunately Web Apps does not support either of those functionalities.
For QR Code the closest you could get would be to scan the code using your
external reader, then enter the resulting string into a text field in web
apps.

Cheers,
Will

On Thu, Oct 5, 2017 at 8:48 AM, Vipin Gupta vipinaim@gmail.com wrote:

Hi,

In one of our small project, we are planning to use web apps to collect
data. We need your advice on followings.

  1. can we connect CommCare with any external QR code reader? if yes
    please provide guidance on that.
  2. can we connect CommCare with Laptop camera/webcam of the system in
    order to capture photos? if yes please provide guidance on that.

Thanks,
Vipin Gupta

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.