Scan
com.google.zxing.client.android.SCAN
Scan a barcode.
See also [XZing on github][https://github.com/zxing/zxing]
Use
public void startScan(String mode, ) { Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.putExtra("SCAN_MODE", mode); // String intent.putExtra("SCAN_RESULT", ); // if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } }
Example intent filter
<activity ...> <intent-filter> <action android:name="com.google.zxing.client.android.SCAN" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Apps Providing an Implementation
Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)
For Specification Writers
Edit on Github