MyGit
🚩收到GitHub仓库的更新通知

markusfisch/BinaryEye

Fork: 106 Star: 1212 (更新于 2024-05-11 04:46:28)

license: MIT

Language: Kotlin .

Yet another barcode scanner for Android

最后发布版本: 1.63.8 ( 2024-05-11 02:57:18)

官方网址 GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

Binary Eye

Yet another barcode scanner for Android. As if there weren't enough.

This one is free, without any ads and open source.

Works in portrait and landscape orientation, can read inverted codes, comes in Material Design and can also generate barcodes.

Binary Eye uses the ZXing-C++ ("Zebra Crossing") barcode scanning library.

If you find this app useful and wish to support its continued development, you can buy me a coffee or send some Bitcoin decimals to bc1q2guk2rpll587aymrfadkdtpq32448x5khk5j8z.

Buy Me A Coffee Liberapay

Screenshots

Screenshot Gallery Screenshot Gallery Screenshot Theme Screenshot Editor

Download

Get it on F-Droid Get it on Google Play

Supported Barcode Formats

Read

ZXing can read the following barcode formats:

Generate

ZXing can generate the following barcode formats:

Deep Links and Intents

Deep Links

You can invoke Binary Eye with a web URI intent from anything that can open URIs. There are two options:

  1. binaryeye://scan
  2. http(s)://markusfisch.de/BinaryEye

If you want to get the scanned contents, you can add a ret query argument with a (URL encoded) URI template. For example:

http://markusfisch.de/BinaryEye?ret=http%3A%2F%2Fexample.com%2F%3Fresult%3D{RESULT}

Supported symbols are:

  • RESULT - scanned content
  • RESULT_BYTES - raw result as a hex string
  • FORMAT - barcode format

SCAN Intent

You can also use Binary Eye from other apps by using the com.google.zxing.client.android.SCAN Intent with startActivityForResult() like this:

startActivityForResult(
	Intent("com.google.zxing.client.android.SCAN"),
	SOME_NUMBER
)

And process the result in onActivityResult() of your Activity:

override fun onActivityResult(
	requestCode: Int,
	resultCode: Int,
	data: Intent?
) {
	when (requestCode) {
		SOME_NUMBER -> if (resultCode == RESULT_OK) {
			val result = data.getStringExtra("SCAN_RESULT")
			…
		}
	}
}

If you're using AndroidX, this would be the new, recommended way:

class YourActivity : AppCompatActivity() {
	private val resultLauncher = registerForActivityResult(
		ActivityResultContracts.StartActivityForResult()
	) { result ->
		if (result.resultCode == RESULT_OK) {
			val content = result.data?.getStringExtra("SCAN_RESULT")
			…
		}
	}

	fun openScanner() {
		resultLauncher.launch(Intent("com.google.zxing.client.android.SCAN"))
	}
}

最近版本更新:(数据更新于 2024-05-11 04:46:12)

2024-05-11 02:57:18 1.63.8

2024-04-18 03:49:16 1.63.7

2024-04-13 20:39:02 1.63.6

2024-03-25 04:16:09 1.63.5

2024-03-17 20:36:20 1.63.4

2024-03-05 04:07:37 1.63.3

2024-02-20 05:08:56 1.63.2

2024-01-13 20:48:01 1.63.1

2024-01-12 03:28:06 1.63.0

2023-12-15 19:34:56 1.62.3

主题(topics):

android, android-camera, hacktoberfest, kotlin-android, renderscript, zxing

markusfisch/BinaryEye同语言 Kotlin最近更新仓库

2024-05-26 20:03:27 XDABlackMesa123/KnoxPatch

2024-05-22 23:55:07 wordpress-mobile/WordPress-Android

2024-05-22 01:31:52 yairm210/Unciv

2024-05-21 18:50:57 JetBrains/kotlin

2024-05-20 01:38:16 Foso/Ktorfit

2024-05-17 12:20:56 simondankelmann/Bluetooth-LE-Spam