2

There're couple of possibilities which completely not solved my problem yet.

  • First I tried to use PhoneGap but I can't use it anymore because of IndexedDB issues currently it has.

  • Then I switched to the option to call a native mobile application from a web page that can read a barcode.

  • Eventually this native application has to return barcode data it's read, in order to make use of it within web app.

I couldn't figure it out properly and appreciate if someone can explain this if it's possible. Some of the questions I looked at as of now;

Erhan Yaşar
  • 847
  • 1
  • 9
  • 25
  • 2
    firstly, there is no default system app to do that. Only 3rd-party apps can read QR codes. Also I'm not sure you can call the externall app, and make it provide you with a result – Vladyslav Matviienko Nov 08 '16 at 12:59
  • With phonegap and [barcodescanner](https://github.com/phonegap/phonegap-plugin-barcodescanner) it is super easy. Maybe could be better find a way for workaround the indexDB problems? – Fi3 Nov 08 '16 at 14:55
  • Might help by looking at other apps and how they integrate. Please see the documentation for integration http://scannrapp.com/ – ssasa Nov 09 '16 at 08:29
  • Hey @VladyslavMatviienko, I was taking a look at past and realized the question is unanswered. Since your comment is the answer rather than other solutions, I want you to share your comment as an answer to be accepted by me. It'd be more appropriate I suppose rather than my own answer to be accepted (:. – Erhan Yaşar Dec 11 '19 at 19:50

1 Answers1

1

Since commentator not answered even it's the real answer, I'm answering my own question to be shared openly.

Even it's possible to call another application to read barcode, it's not possible to turn back to the same app with this 3rd party app if it's not also managed by you directly.

So the alternatives may vary depending upon the specific situation but I had to let user make the 3rd party app to read barcode, and then wait user to turn back to my originated application after getting these results linked to my website.

Erhan Yaşar
  • 847
  • 1
  • 9
  • 25