Add parts of zxing library to generate qr codes

This commit is contained in:
Dominik Schürmann
2013-10-05 20:43:42 +02:00
parent bef6977aad
commit 05cc2023da
67 changed files with 10307 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ import org.sufficientlysecure.keychain.R;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentIntegratorSupportV4;
import android.content.Intent;
import android.os.Bundle;
@@ -70,7 +71,8 @@ public class ShareActivity extends SherlockFragmentActivity {
getResources().getText(R.string.shareKeyringWith)));
} else if (ACTION_SHARE_KEYRING_WITH_QR_CODE.equals(action)) {
// use barcode scanner integration library
new IntentIntegrator(this).shareText(keyringArmored.get(0));
// new IntentIntegrator(this).shareText(keyringArmored.get(0));
// new IntentIntegratorSupportV4(this).shareText(activity, text);
}
}
}