• Stars
    star
    1,381
  • Rank 34,057 (Top 0.7 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created about 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yet another barcode scanner for Android

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.

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 : Activity() {
	private val resultLauncher = registerForActivityResult(StartActivityForResult()) { result ->
		if (result.resultCode == Activity.RESULT_OK) {
			val scan = result.data?.getStringExtra("SCAN_RESULT")
			…
		}
	}

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

More Repositories

1

ShaderEditor

Android app to create GLSL shaders and use them as live wallpaper
Java
911
star
2

PieLauncher

Android home screen launcher that uses a dynamic pie menu instead of tables of icons.
Java
322
star
3

Libra

Android app that helps making decisions.
Kotlin
106
star
4

ScreenTime

Displays your screen time in a permanent notification.
Kotlin
104
star
5

WaveLinesWallpaper

A simple, unobstrusive live wallpaper for Android showing slowly moving wave lines
Java
104
star
6

CameraView

Camera view for Android
Java
25
star
7

libhttp

Light-weight C library for HTTP/1.1 requests
C
24
star
8

PieDock

A dock but in shape of a pie menu
C++
19
star
9

web-game-from-scratch-talk

Making games from scratch with vanilla JavaScript
HTML
16
star
10

readmail

eMail client in Bash
Shell
14
star
11

simsalabash

Hypertext mechanics in Bash
Shell
13
star
12

ScalingImageView

Android ImageView that transforms its drawable according to user input
Java
13
star
13

bots

Terrain parsing game for bots
C
12
star
14

BarcodeScannerView

A barcode scanner view for Android. Batteries included.
Java
11
star
15

libxml

Incremental XML parser in plain C
C
8
star
16

WebPie

WebPie is a dynamic pie menu for web pages
JavaScript
8
star
17

cpprc

C++ resource compiler
C++
7
star
18

AndroidPieMenu

A zooming pie menu for Android
Java
7
star
19

qrim

QR Code Image Merger
JavaScript
7
star
20

bbdock

bbdock displays transparent PNG icons in the Blackbox/Openbox/Fluxbox slit
C++
6
star
21

Sojuz404

A space adventure in 13 kilobytes for js13kGames 2020
HTML
6
star
22

dotfiles

My dotfiles
Vim Script
5
star
23

SocketListenerSampleApp

Android app to open a socket to a given server and keep it open.
Java
4
star
24

ZoomGrid

ZoomGrid is a two-dimensional accordion menu inside a fixed rectangle
JavaScript
4
star
25

TouchClock

A editable clock view for Android
Java
4
star
26

was-los

Simple, searchable list of what to do around Nuremberg, Germany.
Python
3
star
27

OpenCvSample

A minimal batteries-included OpenCV camera app for Android
Java
2
star
28

Sheeptris

A multiplayer Tetris with sheeps. Can be played by up to three players simultaneously.
Java
2
star
29

SwipeImageView

Swipe/zoom/pinch ImageView for Android
Java
2
star
30

MotoScore

Tally counter for motorcyclists to record mistakes to get better aware of them.
Java
2
star
31

Pronto

Simple reaction game for js13kGames 2018
JavaScript
2
star
32

Phapp

A simple but scalable web application framework for PHP
PHP
2
star
33

HumwinAndDarbold

Action adventure in 13kb for js13kGames 2021
JavaScript
2
star
34

TouchClock.js

A JavaScript clock you can touch (or click) to set a time and (optionally) a duration
JavaScript
2
star
35

simsala

Static site editor and generator for the web
PHP
2
star
36

YuvShot

Tool app to save raw YUV frames from the Android camera preview for analysis or to collect data for automated tests
Kotlin
2
star
37

HopHop

You're a bunny trying to catch a butterfly
HTML
1
star
38

RobotClash

Multiplayer deathmatch for Ludum Dare #37
HTML
1
star
39

csspack

A collection of short and simple solutions for compressing CSS data
Shell
1
star
40

markusfisch.de

My website
HTML
1
star
41

GlitchYeagers

Air combat for js13kGames 2016
JavaScript
1
star
42

SkiRun

Ski race for you and a friend
HTML
1
star
43

TenSecondsToVenus

A game for Ludum Dare #27
HTML
1
star
44

LostTreasures

A game about diving for coins in shallow waters for js13kGames 2017
JavaScript
1
star
45

calc

A tiny calculator for mathematical expressions in portable C
C
1
star
46

SwimmingWithSharks

A short murder mystery adventure in 13 kilobytes for js13kGames 2022
JavaScript
1
star
47

ConflictManagement

A turn-based game for js13kGames 2019
JavaScript
1
star
48

GalEx

A game for Ludum Dare #30
HTML
1
star