Skip to content

Commit 7347a93

Browse files
committed
Restore backup from 2020-08-06T22:24
1 parent 7c595cb commit 7347a93

File tree

76 files changed

+1561
-397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1561
-397
lines changed

.idea/codeStyles/Project.xml

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
1+
/*
2+
* This file is part of GreeRemoteAndroid.
3+
*
4+
* GreeRemoteAndroid is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* GreeRemoteAndroid is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with GreeRemoteAndroid. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
apply plugin: 'com.android.application'
219

320
android {
4-
compileSdkVersion 29
21+
compileSdkVersion 26
522
buildToolsVersion '28.0.3'
623
defaultConfig {
7-
applicationId "tomikaa.greeremote"
24+
applicationId "hu.czompisoftware.greecontrol"
825
minSdkVersion 15
9-
targetSdkVersion 29
26+
targetSdkVersion 26
1027
versionCode 1
1128
versionName "1.0"
12-
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
29+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1330
vectorDrawables.useSupportLibrary = true
1431
}
1532
buildTypes {
@@ -26,15 +43,15 @@ android {
2643
}
2744

2845
dependencies {
29-
implementation fileTree(include: ['*.jar'], dir: 'libs')
30-
androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
46+
compile fileTree(include: ['*.jar'], dir: 'libs')
47+
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
3148
exclude group: 'com.android.support', module: 'support-annotations'
3249
})
33-
implementation 'androidx.appcompat:appcompat:1.2.0'
34-
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
35-
implementation 'com.google.android.material:material:1.2.1'
36-
implementation 'com.google.code.gson:gson:2.8.6'
37-
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
38-
implementation 'androidx.recyclerview:recyclerview:1.1.0'
39-
testImplementation 'junit:junit:4.12'
50+
compile 'com.android.support:appcompat-v7:26.1.0'
51+
compile 'com.android.support.constraint:constraint-layout:1.0.2'
52+
compile 'com.android.support:design:26.1.0'
53+
compile 'com.google.code.gson:gson:2.8.0'
54+
compile 'com.android.support:support-v4:26.1.0'
55+
compile 'com.android.support:recyclerview-v7:26.1.0'
56+
testCompile 'junit:junit:4.12'
4057
}

app/debug/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-debug.apk","fullName":"debug","baseName":"debug","dirName":""},"path":"app-debug.apk","properties":{}}]

app/release/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}]
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
package hu.czompisoftware.greecontrol;
2+
3+
import android.content.Context;
4+
import android.support.test.InstrumentationRegistry;
5+
import android.support.test.runner.AndroidJUnit4;
6+
7+
import org.junit.Test;
8+
import org.junit.runner.RunWith;
9+
10+
import static org.junit.Assert.*;
11+
12+
/*
13+
* This file is part of GreeRemoteAndroid.
14+
*
15+
* GreeRemoteAndroid is free software: you can redistribute it and/or modify
16+
* it under the terms of the GNU General Public License as published by
17+
* the Free Software Foundation, either version 3 of the License, or
18+
* (at your option) any later version.
19+
*
20+
* GreeRemoteAndroid is distributed in the hope that it will be useful,
21+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23+
* GNU General Public License for more details.
24+
*
25+
* You should have received a copy of the GNU General Public License
26+
* along with GreeRemoteAndroid. If not, see <http://www.gnu.org/licenses/>.
27+
*/
28+
29+
/**
30+
* Instrumentation test, which will execute on an Android device.
31+
*
32+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
33+
*/
34+
@RunWith(AndroidJUnit4.class)
35+
public class ExampleInstrumentedTest {
36+
@Test
37+
public void useAppContext() throws Exception {
38+
// Context of the app under test.
39+
Context appContext = InstrumentationRegistry.getTargetContext();
40+
41+
assertEquals("hu.czompisoftware.greecontrol", appContext.getPackageName());
42+
}
43+
}

app/src/androidTest/java/tomikaa/greeremote/ExampleInstrumentedTest.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/src/main/AndroidManifest.xml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ This file is part of GreeRemoteAndroid.
4+
~
5+
~ GreeRemoteAndroid is free software: you can redistribute it and/or modify
6+
~ it under the terms of the GNU General Public License as published by
7+
~ the Free Software Foundation, either version 3 of the License, or
8+
~ (at your option) any later version.
9+
~
10+
~ GreeRemoteAndroid is distributed in the hope that it will be useful,
11+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
~ GNU General Public License for more details.
14+
~
15+
~ You should have received a copy of the GNU General Public License
16+
~ along with GreeRemoteAndroid. If not, see <http://www.gnu.org/licenses/>.
17+
-->
18+
219
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="tomikaa.greeremote">
20+
package="hu.czompisoftware.greecontrol">
421

522
<uses-permission android:name="android.permission.INTERNET" />
6-
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
7-
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
8-
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
923
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
1024

1125
<application
@@ -16,7 +30,7 @@
1630
android:theme="@style/AppTheme">
1731

1832
<activity
19-
android:name=".MainActivity"
33+
android:name="hu.czompisoftware.greecontrol.MainActivity"
2034
android:label="@string/app_name"
2135
android:theme="@style/AppTheme.NoActionBar">
2236
<intent-filter>
@@ -26,11 +40,11 @@
2640
</intent-filter>
2741
</activity>
2842
<activity
29-
android:name=".DeviceActivity"
30-
android:parentActivityName=".MainActivity"
43+
android:name="hu.czompisoftware.greecontrol.DeviceActivity"
44+
android:parentActivityName="hu.czompisoftware.greecontrol.MainActivity"
3145
android:launchMode="singleTop"/>
32-
<activity android:name=".DeviceHelpActivity"
33-
android:parentActivityName=".DeviceActivity"/>
46+
<activity android:name="hu.czompisoftware.greecontrol.DeviceHelpActivity"
47+
android:parentActivityName="hu.czompisoftware.greecontrol.DeviceActivity"/>
3448
</application>
3549

3650
</manifest>

0 commit comments

Comments
 (0)