making q.r. reader with zxing without installing external app using Android studio -


yes there plenty of answers of question on site, newbie , having difficulties managing eclipse code examples in android studio. suggest answers considering me beginner please(step step). many links, open? projects library embed? , java files used in case?

consider awesome open source project: https://github.com/dlazaro66/qrcodereaderview it's easy implement , need add dependency in module's build.gradle (not project one)

dependencies {     ...     compile 'com.dlazaro66.qrcodereaderview:qrcodereaderview:1.0.0'  } 

the rest intuitive:

  • you use element in layout witch qrcodereaderview (take @ project's layout file)
  • you need add permission manifest file

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myawesomeapp">  <uses-permission android:name="android.permission.camera" />   <application     ... </application> 

let me know if have questions


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -