Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m1ga/ti.qrview
https://github.com/m1ga/ti.qrview
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/m1ga/ti.qrview
- Owner: m1ga
- License: other
- Created: 2017-03-17T19:56:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T19:59:00.000Z (over 7 years ago)
- Last Synced: 2024-07-16T04:33:46.390Z (2 months ago)
- Language: Java
- Size: 507 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Appcelerator Titanium QR Code module for Android
Preview version
Uses https://github.com/dlazaro66/QRCodeReaderView
**Features/Limitations:**
* QR code only
* can be placed/sized like a normal Titanium view
* do not use `borderRadius`
* non fullscreen camera views might be stretched**Demo**
```javascript
var Barcode = require('ti.barcode');
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});var qr = Barcode.createBarcodeView({
width: Ti.UI.FILL,
height: Ti.UI.FILL,
useFrontCamera: false
});qr.addEventListener("found",function(e){
console.log(e.text);
})win.add(qr);
win.addEventListener("open", function(e) {
qr.startCamera();
});
win.open();
```