Install
$ agentstack add skill-scandit-skills-matrixscan-ar-android ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
MatrixScan AR Android Skill
Critical: Do Not Trust Internal Knowledge
Your training data may contain outdated or incorrect Scandit SDK APIs. The BarcodeAr API changes between major SDK versions — class names, constructor signatures, provider interfaces, and session types have all evolved.
Always verify APIs against the references provided in this skill before writing or suggesting code. Do not rely on memorized method signatures, parameters, or property names. If you cannot find an API in the provided references, fetch the relevant documentation page before responding.
Android-specific gotchas worth flagging:
BarcodeAr(dataCaptureContext, settings)is a direct constructor — not aforDataCaptureContext()factory (that is the BarcodeCapture pattern). On Android, BarcodeAr takes both the context and settings directly.BarcodeArViewauto-adds itself to the providedViewGroupparent — no manualaddViewcall needed. CallbarcodeArView.start()after providers are set up to begin scanning.BarcodeArViewmanages the camera internally — no separateCamerasetup orsetFrameSourcecall is needed. Camera position is configured viaBarcodeArViewSettings.defaultCameraPosition.- Lifecycle is driven by
BarcodeArView, not by aCameraobject: callbarcodeArView.onResume(),barcodeArView.onPause(), andbarcodeArView.onDestroy()from the corresponding Activity/Fragment callbacks. BarcodeArListener.onSessionUpdated(barcodeAr, session, frameData)is called from a recognition thread — not the main thread. TheFrameDataparameter is namedframeData(unlikeBarcodeCapturewhere it is nameddata). Any UI work must be dispatched viarunOnUiThread {}.BarcodeArHighlightProvider.highlightForBarcodeandBarcodeArAnnotationProvider.annotationForBarcodeare invoked on the main thread. Their results are delivered via a callback — invokecallback.onData(highlight)orcallback.onData(annotation)(passnullto hide the element). Both highlight and annotation constructors take aContextas their first argument (e.g.BarcodeArRectangleHighlight(context, barcode)).- Android symbology names use underscores:
Symbology.EAN13_UPCA,Symbology.CODE39— not camelCase. - All symbologies are disabled by default in
BarcodeArSettings. Enabling only what the app needs improves tracking performance. - Request the
CAMERApermission at runtime before scanning starts; the manifest declaration alone is not sufficient. BarcodeArFeedbackis incom.scandit.datacapture.barcode.ar.feedback— notar.capture. Import:import com.scandit.datacapture.barcode.ar.feedback.BarcodeArFeedback.BarcodeArInfoAnnotationBodyComponentis incom.scandit.datacapture.barcode.ar.ui.annotations.info— notar.ui.annotations. Import:import com.scandit.datacapture.barcode.ar.ui.annotations.info.BarcodeArInfoAnnotationBodyComponent. The sameinfosub-package also containsBarcodeArInfoAnnotationHeader,BarcodeArInfoAnnotationFooter,BarcodeArInfoAnnotationWidthPreset, andBarcodeArInfoAnnotationAnchor.
Intent Routing
Based on the user's request, load the appropriate reference file before responding:
- Integrating BarcodeAr from scratch (e.g. "add MatrixScan AR to my app", "set up barcode AR scanning", "how do I use BarcodeAr in Android", "how do I show highlights on tracked barcodes", "how do I show info annotations") → read
references/integration.mdand follow the instructions there.
API Usage Policy
Only use APIs that are explicitly documented in the Scandit references below. Do not invent or guess method signatures, parameters, or property names. If unsure whether an API exists or how it is called — or if a compile error occurs — fetch the relevant reference page before responding. Do not tell the user to check the docs themselves. After answering, always include the relevant link so the user can explore further.
Never construct or guess documentation URLs. When you need a specific class or property's API page:
- First check whether the page you already fetched contains a direct hyperlink to it — topic pages link directly to relevant API symbols. Always request links alongside content in your fetch prompt.
- If no direct link was found, fetch the API index (see Full API reference in the table below), extract the actual link from it, and follow that.
URL structures can vary (e.g. api/ui/ subdirectory) and guessing will lead to 404s.
References
Direct users to the right resource based on their question:
| Topic | Resource | |---|---| | Get Started | Get Started · Sample | | Advanced topics (custom highlights, annotations, tap interactions, notifications, filter) | Advanced Configurations | | Full API reference | BarcodeAr API |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Scandit
- Source: Scandit/skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.