diff --git a/app/build.gradle b/app/build.gradle
index 10d743e2..6d47e545 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -29,14 +29,13 @@ dependencies {
testImplementation 'junit:junit:4.12'
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation project(path: ':gdatabase')
- implementation project(path: ':qrcode')
- implementation project(path: ':updatewithgithub')
+ implementation project(':gdatabase')
+ implementation project(':updatewithgithub')
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
+ implementation 'com.journeyapps:zxing-android-embedded:3.5.0'
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
- implementation 'com.google.zxing:core:3.3.0'
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index cbe6245c..8bceaf1f 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -58,9 +58,11 @@
+ android:name=".activity.QRScannerActivity"
+ android:clearTaskOnLaunch="true"
+ android:stateNotNeeded="true"
+ android:theme="@style/AppTheme.QRScannerTheme"
+ android:windowSoftInputMode="stateAlwaysHidden"/>
+
+
+
+
+
diff --git a/app/src/main/res/menu/actions_activity_share.xml b/app/src/main/res/menu/actions_activity_share.xml
index 880f240e..e9f51f13 100644
--- a/app/src/main/res/menu/actions_activity_share.xml
+++ b/app/src/main/res/menu/actions_activity_share.xml
@@ -5,7 +5,7 @@
android:id="@+id/actions_activity_share_scan_barcode"
android:icon="@drawable/ic_qrcode_scan_white_24dp"
android:orderInCategory="0"
- android:title="Scan QR to send"
+ android:title="@string/butn_qrScanToSend"
app:showAsAction="always"/>
\ No newline at end of file
diff --git a/app/src/main/res/menu/actions_network_device.xml b/app/src/main/res/menu/actions_network_device.xml
index d3fd374b..1280676b 100644
--- a/app/src/main/res/menu/actions_network_device.xml
+++ b/app/src/main/res/menu/actions_network_device.xml
@@ -5,7 +5,7 @@
android:id="@+id/network_devices_barcode_generate"
android:icon="@drawable/ic_qrcode_white_24dp"
android:orderInCategory="0"
- android:title="Receive using QR Code"
+ android:title="@string/butn_qrToggle"
app:showAsAction="always"/>
- Göndericiye bu QR kodunu TrebleShot üzerinde taramasını söyleyin
TrebleShot Hotspot\'u başlatın
Alıcının ekranı üzerindeki QR kodunu tarayın
+ Göndermek için QR tara
+ QR Kod gösterimi
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 1674f51b..684b436b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -333,4 +333,6 @@
Tell sender to scan this QR code using TrebleShot
Start TrebleShot hotspot first
Scan the QR code on the receiver\'s screen
+ Scan QR Code to send
+ Toggle QR Code showing
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 4f4faebf..b64a17a6 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -24,6 +24,11 @@
- @color/windowBackground
+
+
-
\ No newline at end of file
diff --git a/qrcode/src/test/java/com/genonbeta/qrcode/ExampleUnitTest.java b/qrcode/src/test/java/com/genonbeta/qrcode/ExampleUnitTest.java
deleted file mode 100644
index ba299c6f..00000000
--- a/qrcode/src/test/java/com/genonbeta/qrcode/ExampleUnitTest.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.genonbeta.qrcode;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * @see Testing documentation
- */
-public class ExampleUnitTest
-{
- @Test
- public void addition_isCorrect() throws Exception
- {
- assertEquals(4, 2 + 2);
- }
-}
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index 946e0563..f33a7d1c 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1 +1 @@
-include ':app', ':gdatabase', ':updatewithgithub', ':qrcode'
\ No newline at end of file
+include ':app', ':gdatabase', ':updatewithgithub'
\ No newline at end of file