An open API service indexing awesome lists of open source software.

https://github.com/sz3/cfc

Demo/test android app for libcimbar. Copy files over the cell phone camera!
https://github.com/sz3/cfc

android barcode-scanner file-transfer proof-of-concept

Last synced: 25 days ago
JSON representation

Demo/test android app for libcimbar. Copy files over the cell phone camera!

Awesome Lists containing this project

README

        

### [INTRODUCTION](https://github.com/sz3/cimbar) | [ABOUT](https://github.com/sz3/cimbar/blob/master/ABOUT.md) | CFC | [LIBCIMBAR](https://github.com/sz3/libcimbar)

## CameraFileCopy

This is an android app for receiving data over the camera as a one-way data channel. It does not use any antennas (wifi, bluetooth, nfc, ...) or other tricks. Notably, this means it works just as well in airplane mode.

The app reads animated [cimbar codes](https://github.com/sz3/libcimbar). Nearly all the interesting logic is from libcimbar -- included via a git subtree.

The *sender* component of cfc is a cimbar encoder -- such as https://cimbar.org. Navigate to that website (or use libcimbar's `cimbar_send` to generate barcodes natively), open a file to initialize the cimbar stream, and point the app+camera at the animated barcode.

## Release apks

[Get it on F-Droid](https://f-droid.org/packages/org.cimbar.camerafilecopy/)
[Get it on Google Play](https://play.google.com/store/apps/details?id=org.cimbar.camerafilecopy)

Release apks are also available here: https://github.com/sz3/cfc/releases/

Only arm64-v8a is officially supported at the moment, because that is all I can test for.

## Building

1. Install android studio
2. Install the android ndk
3. Download [OpenCV for android](https://github.com/opencv/opencv/releases/download/4.5.0/opencv-4.5.0-android-sdk.zip)
4. Create a project with this repo at the root
5. update `gradle.properties` such that `opencvsdk` point to wherever you extracted the OpenCV Android SDK.

I found this project incredibly useful for getting started:

https://github.com/VlSomers/native-opencv-android-template

## licensing, dependencies, etc

The code in cfc, such as it is, is MIT licensed. It is mostly a blend of various tutorial apps + wrapper code around libcimbar.

The libcimbar code is MPL 2.0. libcimbar's dependencies are a variety of MIT, BSD, zlib, boost, apache, ...