Search code examples
androidqr-codebarcode-scanner

How do I build an app that scans QR codes and uses their data on Android?


Please be advised I am a total novice at Android development, and have only progressed as far as "Hello world".

I don't actually want to build a QR code scanner, I would rather use a third party component, but I need an app that will scan a QR code, display some data from the code, and send some data to a web service.

Please can someone give me a real beginner's outline on the process and structure U should use in my application. I am an experienced C# developer, so the actual Java coding won't be a problem, and I'm certainly not asking how to do that, just how to set up the basic app architecture and process flow, e.g. how to show a dialogue, contact a web service, and use a third party component.

What I need is to scan a QR code, extract some text code from it, send those codes to a web service.


Solution

  • ZXing is a pretty good library which you can integrate in your application.Refer this class CaptureActivity