Skip to content

Commit 1649691

Browse files
committed
init commit
1 parent 7d3ef1f commit 1649691

Some content is hidden

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

51 files changed

+426
-881
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
*.iml
22
.gradle
33
/local.properties
4-
/.idea/workspace.xml
4+
/.idea/caches/build_file_checksums.ser
55
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
68
.DS_Store
79
/build
810
/captures
11+
.externalNativeBuild

.idea/.name

-1
This file was deleted.

.idea/codeStyles/Project.xml

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

-22
This file was deleted.

.idea/copyright/profiles_settings.xml

-3
This file was deleted.

.idea/encodings.xml

-6
This file was deleted.

.idea/gradle.xml

+2-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+12-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

-9
This file was deleted.

app/build.gradle

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.2"
6-
4+
compileSdkVersion 28
75
defaultConfig {
8-
applicationId "my.intellij.androidtodolist"
6+
applicationId "com.deepagi.androidtodolist"
97
minSdkVersion 15
10-
targetSdkVersion 23
8+
targetSdkVersion 28
119
versionCode 1
1210
versionName "1.0"
11+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1312
}
1413
buildTypes {
1514
release {
@@ -20,7 +19,10 @@ android {
2019
}
2120

2221
dependencies {
23-
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
testCompile 'junit:junit:4.12'
25-
compile 'com.android.support:appcompat-v7:23.4.0'
22+
implementation fileTree(dir: 'libs', include: ['*.jar'])
23+
implementation 'com.android.support:appcompat-v7:28.0.0'
24+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
25+
testImplementation 'junit:junit:4.12'
26+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
27+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
2628
}

app/proguard-rules.pro

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
# Add project specific ProGuard rules here.
2-
# By default, the flags in this file are appended to flags specified
3-
# in /Users/ZERO/Library/Android/sdk/tools/proguard/proguard-android.txt
4-
# You can edit the include path and order by changing the proguardFiles
5-
# directive in build.gradle.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
64
#
75
# For more details, see
86
# http://developer.android.com/guide/developing/tools/proguard.html
97

10-
# Add any project specific keep options here:
11-
128
# If your project uses WebView with JS, uncomment the following
139
# and specify the fully qualified class name to the JavaScript interface
1410
# class:
1511
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1612
# public *;
1713
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.deepagi.androidtodolist;
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+
* Instrumented test, which will execute on an Android device.
14+
*
15+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
16+
*/
17+
@RunWith(AndroidJUnit4.class)
18+
public class ExampleInstrumentedTest {
19+
@Test
20+
public void useAppContext() {
21+
// Context of the app under test.
22+
Context appContext = InstrumentationRegistry.getTargetContext();
23+
24+
assertEquals("com.deepagi.androidtodolist", appContext.getPackageName());
25+
}
26+
}

app/src/androidTest/java/my/intellij/androidtodolist/ApplicationTest.java

-13
This file was deleted.

app/src/main/AndroidManifest.xml

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="my.intellij.androidtodolist">
3+
package="com.deepagi.androidtodolist">
4+
5+
<uses-permission android:name="android.permission.INTERNET" />
6+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
47

58
<application
69
android:allowBackup="true"
710
android:icon="@mipmap/ic_launcher"
811
android:label="@string/app_name"
12+
android:roundIcon="@mipmap/ic_launcher_round"
913
android:supportsRtl="true"
1014
android:theme="@style/AppTheme">
11-
<activity
12-
android:name=".ListActivity"
13-
android:label="@string/app_name" >
15+
<activity android:name=".MainActivity">
1416
<intent-filter>
1517
<action android:name="android.intent.action.MAIN" />
1618

1719
<category android:name="android.intent.category.LAUNCHER" />
1820
</intent-filter>
1921
</activity>
20-
<activity android:name=".CreateActivity" />
21-
<activity android:name=".UpdateActivity" />
2222
</application>
2323

24-
<uses-permission android:name="android.permission.INTERNET" />
25-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
26-
2724
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.deepagi.androidtodolist;
2+
3+
import android.support.v7.app.AppCompatActivity;
4+
import android.os.Bundle;
5+
6+
public class MainActivity extends AppCompatActivity {
7+
8+
@Override
9+
protected void onCreate(Bundle savedInstanceState) {
10+
super.onCreate(savedInstanceState);
11+
setContentView(R.layout.activity_main);
12+
}
13+
}

app/src/main/java/my/intellij/androidtodolist/App.java

-25
This file was deleted.

0 commit comments

Comments
 (0)