dimanche 1 février 2015

zxing activity in core


Vote count:

0




Here I am expecting that zxing-core has some activity that can be launched from other app and that is how they integrate without having to launch some 3rd party app to scan QR code


I tried adding



compile 'com.google.zxing:core:3.1.0'
compile 'com.google.zxing:android-integration:3.1.0'


to build.gradle file I can see these jars are imported, however I don't see this class being present in jar



com.google.zxing.client.android.CaptureActivity


and in side jar



$ unzip -l ./modules-2/files-2.1/com.google.zxing/core/3.1.0/908e18674f895e3e1fa8f4a954b8c637a23d2801/core-3.1.0.jar | grep -i 'activity'


I don't see that class part of core module http://ift.tt/1BQO7Pf


What am I doing wrong ?



Suppressed: java.lang.ClassNotFoundException: com.google.zxing.client.android.CaptureActivity
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)


asked 32 secs ago







zxing activity in core

Aucun commentaire:

Enregistrer un commentaire