From 94dc2d019fd518ae910c75c2dc4374a91e9cbec0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 2 May 2014 20:51:23 -0400 Subject: [PATCH] add wizard for sending FDroid to another device via WiFi/QR This is a little helper to direct people to get a new device to download FDroid from another device that already has it. It first prompts them to join the same wifi network, and offers a QR Code to associate to the same wifi. The next step is a QR Code for getting the URL to the local repo. The index.html on that local repo includes a download link for FDroid and a repo link to the local repo. refs #3204 https://dev.guardianproject.info/issues/3204 --- AndroidManifest.xml | 2 + res/layout/qr_wizard_activity.xml | 43 +++++++ res/menu/local_repo_activity.xml | 7 +- res/values/strings.xml | 6 + .../fdroid/views/LocalRepoActivity.java | 3 + .../views/QrWizardDownloadActivity.java | 82 +++++++++++++ .../views/QrWizardWifiNetworkActivity.java | 110 ++++++++++++++++++ 7 files changed, 252 insertions(+), 1 deletion(-) create mode 100644 res/layout/qr_wizard_activity.xml create mode 100644 src/org/fdroid/fdroid/views/QrWizardDownloadActivity.java create mode 100644 src/org/fdroid/fdroid/views/QrWizardWifiNetworkActivity.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 834132306..9c9a599c4 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -182,6 +182,8 @@ + + + + + + + + + + + + + + + +