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;