[lWS.QR] lightweight Web Server QR code
ilightweight Web Server QR code companion application
This programm was designed as a QR Code plugin for the [lightweight Web Server (lWS)](https://github.com/mvbasov/lWS).
It can also be used by itself as a small and simple QR code generator.
Start by entering text in the text area below or paste it from clipboard and press 'Encode' button to see QR code.
To see this text again press 'Clear' button.
You can share text to this app to it as QR code.
### How to integrate with you application
lWS QR can be easily integrated with your application. The following code explain how to do this:
```
String textToEncode = "Some text to encode";
PackageManager pm = getApplicationContext().getPackageManager();
try {
pm.getPackageInfo("net.basov.lws.qr.gpm", 0);
Intent i = new Intent("net.basov.lws.qr.ENCODE");
i.setData(Uri.parse("createqr:"));//(mondatory) set schema
i.putExtra("ENCODE_DATA", textToEncode);//(mandatory) text to encode
i.putExtra("ENCODE_LABEL", textToEncode);//(optional, default: same as text to encode) text above QR code
i.putExtra("ENCODE_CORRECTION", "L"); //(optional, default: L) Error correction level [L,M,Q,H]
i.putExtra("ENCODE_MODULE_SIZE", 6);//(optional, default 6) Small black square zize in pixels
i.putExtra("ENCODE_MASK", -1);//(optional, default -1) QR code data mask 0-7 or -1 for autodetect
i.putExtra("ENCODE_MIN_VERSION", 1);//(optional, default 1) Force minimal QR code version (size)
startActivity(i);
} catch (PackageManager.NameNotFoundException e_lws_qr) {
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("market://details?id=net.basov.lws.qr.gpm"));
startActivity(i);
}
```
### License
This software licensed under [MIT license](LICENSE). Copyright (c) 2018-2024 Mikhail Basov
To create QR code this program uses [QR Code generator library](https://github.com/nayuki/QR-Code-generator) licensed under MIT license also. Copyright (c) 2017 Project Nayuki.
### Acknowledgments
* [Rodrigo I. Ávila D. aka Undigon](https://github.com/Undigon) for my ugly English correction.
It can also be used by itself as a small and simple QR code generator.
Start by entering text in the text area below or paste it from clipboard and press 'Encode' button to see QR code.
To see this text again press 'Clear' button.
You can share text to this app to it as QR code.
### How to integrate with you application
lWS QR can be easily integrated with your application. The following code explain how to do this:
```
String textToEncode = "Some text to encode";
PackageManager pm = getApplicationContext().getPackageManager();
try {
pm.getPackageInfo("net.basov.lws.qr.gpm", 0);
Intent i = new Intent("net.basov.lws.qr.ENCODE");
i.setData(Uri.parse("createqr:"));//(mondatory) set schema
i.putExtra("ENCODE_DATA", textToEncode);//(mandatory) text to encode
i.putExtra("ENCODE_LABEL", textToEncode);//(optional, default: same as text to encode) text above QR code
i.putExtra("ENCODE_CORRECTION", "L"); //(optional, default: L) Error correction level [L,M,Q,H]
i.putExtra("ENCODE_MODULE_SIZE", 6);//(optional, default 6) Small black square zize in pixels
i.putExtra("ENCODE_MASK", -1);//(optional, default -1) QR code data mask 0-7 or -1 for autodetect
i.putExtra("ENCODE_MIN_VERSION", 1);//(optional, default 1) Force minimal QR code version (size)
startActivity(i);
} catch (PackageManager.NameNotFoundException e_lws_qr) {
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("market://details?id=net.basov.lws.qr.gpm"));
startActivity(i);
}
```
### License
This software licensed under [MIT license](LICENSE). Copyright (c) 2018-2024 Mikhail Basov
To create QR code this program uses [QR Code generator library](https://github.com/nayuki/QR-Code-generator) licensed under MIT license also. Copyright (c) 2017 Project Nayuki.
### Acknowledgments
* [Rodrigo I. Ávila D. aka Undigon](https://github.com/Undigon) for my ugly English correction.
- 作者: Mikhail Basov
- 授權條款: MIT License
- 問題追蹤系統
- 原始碼
- 更新日誌
- 構建中介資料
- 可重現構建狀態
版本
雖然在下方可選擇下載 APK 檔案,但要留意這樣的安裝方式將不會收到更新通知,是一種較不安全的下載方法。建議您先安裝 F-Droid 用戶端使用。
下載 F-Droid-
此版本需要 Android 4.1 或更高的版本。
此套件包由 F-Droid 構建和簽署,並保證與此原始碼 Tarball 保持一致。
-
此版本需要 Android 4.1 或更高的版本。
此套件包由 F-Droid 構建和簽署,並保證與此原始碼 Tarball 保持一致。
-
此版本需要 Android 4.1 或更高的版本。
此套件包由 F-Droid 構建和簽署,並保證與此原始碼 Tarball 保持一致。






