Task #2470

add zxing to generate QR Codes

Added by hans about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:11/13/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.1 - "Kerplapp"
Component:

Description

The standard for Android for QR Code is zxing, even tho its large...

we need QR codes for repos and the bootstrapping process

Associated revisions

Revision e8ac74ae
Added by hans about 4 years ago

generate QR Codes internally based on zxing's core.jar

This app needs to be able to generate QR Codes regardless of what other
app might be installed, so zxing's core.jar needs to be embedded in this
app.

refs #2470

Revision fbbc231d
Added by hans about 4 years ago

use fdroidrepo:// URI in QRCode so that Android will direct it to F-Droid

There is a merge request in to make F-Droid register to receive all
fdroidrepo:// and fdroidrepos:// URIs. This comment makes the QR Code use
that URI so that it'll be automatically directed to F-Droid when scanned.

Here's the related merge request:
https://gitorious.org/f-droid/fdroidclient/merge_requests/39

refs #2470

Revision 3caec653
Added by Hans-Christoph Steiner over 3 years ago

generate QR Codes internally based on ZXing's core.jar

This app needs to be able to generate QR Codes regardless of what other
app might be installed, so zxing's core.jar needs to be embedded in this
app.

This also includes two classes which are modified versions of ZXing classes
that allow the generation of QR Codes without the Barcode Scanner app being
installed:
https://stackoverflow.com/questions/4782543/integration-zxing-library-directly-into-my-android-application

The classes are src/com/google/zxing/encode/Contents.java which is a copy
of zxing/android/src/com/google/zxing/client/android/Contents.java; and
src/com/google/zxing/encode/QRCodeEncoder.java which is a heavily stripped
and modified version of
zxing/android/src/com/google/zxing/client/android/encode/QRCodeEncoder.java

refs #3204 https://dev.guardianproject.info/issues/3204
refs #2470 https://dev.guardianproject.info/issues/2470

History

#1 Updated by hans about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF