QR Code generation on screen (and not print)

#1

1. What is the problem? Be very detailed.
I'm wondering if ODK could generate a QR code (or bar code) image as a final note of the form. (a summary of the most important question)
I need such a thing so that an other interviewer could flash this code to run an other part of the interview by reusing the QR Content.

I thing the QR reader but not the QR generator (except for the ODK parameters' sharing)

2. What app or server are you using and on what device and operating system? Include version numbers.

ODK 1.20

3. What you have you tried to fix the problem?

I wanted to use the external app launch with the intent provide by QR Droid Services but I did'nt really have any success with intent (this app is not the only one I have problem with)

4. What steps can we take to reproduce the problem?

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.

The QR Droid app is there : http://qrdroid.com/get/

1 Like

#2

If someone else as the same issue, here is my conclusion after some test

  • Install QR Droid
  • use calculate to construct your message with all the answer you need in QR Code
  • use calculate to put " and " at the beginning and at the end of the message.
    I use concat('"',${my_message},'"')
    In the xls form add the intent like that :

type | name_________ | label _____| apparence
text | QR_generation | QR message | ex:la.droid.qr.encode(la.droid.qr.image=true,la.droid.qr.code=${msg_OK})

When you press the button Start the QR code is generated by QR droid and is in the historic

My issue : I couldn't succeed in having the st image save somewhere to get it back on ODK

I read : http://qrdroid.com/android-developers/

The result should be in this la.droid.qr.result
but I can't figure how to get this using ODK.

I'm not fare away... but still not perfect

0 Likes