2

There is lots of possibilities which completely not solved my problem yet. First I tried to use PhoneGap but not anymore because of IndexedDB problems. Now I want to call a native application that can read a barcode from my web app and then use this data eventually. I couldn't figure it out properly and really appreciate if someone can completely explain this even i have looked at barcode scanning in web apps for smartphone/tablet browsers and How to open a native iOS app from a web app.

Many thanks in advance.

Community
  • 1
  • 1
Erhan Yaşar
  • 316
  • 1
  • 5
  • 21
  • 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

0

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
  • 316
  • 1
  • 5
  • 21