Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to sdk33 and android 8.8.1 #3

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
8400ef1
run at version 8.1.1 successfully
BriAlpha Nov 15, 2023
e48ffd9
update
BriAlpha Nov 17, 2023
5a07f0e
Update AlterTodayActivity.java
XiLin20 Nov 29, 2023
a8c30aa
Update NoteActivity.java
XiLin20 Nov 29, 2023
1034d12
Update TodayCreateActivitty.java
XiLin20 Nov 29, 2023
e7d0fa6
Merge pull request #1 from XiLin20/master
BriAlpha Nov 29, 2023
6e31df4
Log updated
Float-E Nov 30, 2023
707fd33
Merge pull request #2 from Float-E/master
BriAlpha Nov 30, 2023
2ace5ba
Merge pull request #2 from Float-E/master
BriAlpha Nov 30, 2023
96168ea
Merge remote-tracking branch 'origin/master'
HSQ7777 Dec 1, 2023
09736af
Merge pull request #3 from HSQ7777/master
BriAlpha Dec 1, 2023
765619a
history update
BriAlpha Dec 1, 2023
2d395dc
update main
BriAlpha Dec 1, 2023
6fa5179
Update TodayCreateActivitty.java
XiLin20 Dec 2, 2023
07ab6e9
Update TodayAdapter.java
XiLin20 Dec 2, 2023
2bab036
Update TodayAdapter.java
XiLin20 Dec 2, 2023
c3df7a1
Update SendMessage.java
XiLin20 Dec 2, 2023
beac564
Update activity_alter_today.xml
XiLin20 Dec 2, 2023
d45a281
Update activity_note.xml
XiLin20 Dec 2, 2023
9b9297e
Update activity_today_create_activitty.xml
XiLin20 Dec 2, 2023
6521a76
update sdk33 and androidx
BriAlpha Dec 3, 2023
de0c5e2
Merge pull request #4 from XiLin20/master
BriAlpha Dec 4, 2023
58ab47c
merge record!
BriAlpha Dec 4, 2023
17c2876
Merge branch 'master' of https://github.com/BriAlpha/Schedule
BriAlpha Dec 4, 2023
d1eb67b
udpate SendMessage bug
BriAlpha Dec 4, 2023
fc86568
!!!test tomato(setting替代tomato,误用)
BriAlpha Dec 10, 2023
deb1e84
tomato0.1 update
BriAlpha Dec 11, 2023
7ce882d
update tomato0.2 allFunction doable
BriAlpha Dec 11, 2023
1db5bad
update tomato0.3(ring, vibarate, notice)
BriAlpha Dec 11, 2023
78ba03e
update MainActivity with tomato button
BriAlpha Dec 11, 2023
16e6e66
Update AlterTodayActivity.java
XiLin20 Dec 12, 2023
f7b9bb0
Update TodayCreateActivitty.java
XiLin20 Dec 12, 2023
390c9fd
Update Plan.java
XiLin20 Dec 12, 2023
1c45c91
Update TodayAdapter.java
XiLin20 Dec 12, 2023
263e2d8
Update today_item.xml
XiLin20 Dec 12, 2023
ae8c581
Update activity_alter_today.xml
XiLin20 Dec 12, 2023
f5eebb3
Update strings.xml
XiLin20 Dec 12, 2023
8e326c7
Update activity_today_create_activitty.xml
XiLin20 Dec 12, 2023
6135d13
Merge pull request #5 from XiLin20/patch-6
BriAlpha Dec 12, 2023
a9d1e63
Merge pull request #6 from XiLin20/patch-8
BriAlpha Dec 12, 2023
5cccff2
Merge pull request #7 from XiLin20/patch-4
BriAlpha Dec 12, 2023
521b13a
Merge pull request #8 from XiLin20/patch-7
BriAlpha Dec 12, 2023
7f6193b
Merge pull request #9 from XiLin20/patch-2
BriAlpha Dec 12, 2023
ff05370
Merge pull request #10 from XiLin20/patch-1
BriAlpha Dec 12, 2023
32e06dd
Merge pull request #11 from XiLin20/patch-3
BriAlpha Dec 12, 2023
cb7f748
Merge pull request #12 from XiLin20/patch-5
BriAlpha Dec 12, 2023
8651d74
Revert "Merge pull request #11 from XiLin20/patch-3"
BriAlpha Dec 12, 2023
aa4f697
Revert "Update AlterTodayActivity.java"
BriAlpha Dec 12, 2023
8f9511a
Revert "Merge pull request #9 from XiLin20/patch-2"
BriAlpha Dec 12, 2023
fb87a10
Revert "Merge pull request #8 from XiLin20/patch-7"
BriAlpha Dec 12, 2023
3ee32ab
Revert "Merge pull request #7 from XiLin20/patch-4"
BriAlpha Dec 12, 2023
11f5def
Revert "Merge pull request #6 from XiLin20/patch-8"
BriAlpha Dec 12, 2023
dbb41c3
Revert "Merge pull request #5 from XiLin20/patch-6"
BriAlpha Dec 12, 2023
02aaa13
update tomato0.4
BriAlpha Dec 12, 2023
486236e
update tomato0.5(icon
BriAlpha Dec 12, 2023
7506fa9
update record(icon
BriAlpha Dec 12, 2023
b2c257b
update activity_start
BriAlpha Dec 12, 2023
1d5da94
update setting/help
BriAlpha Dec 12, 2023
d6a8d01
update set english
BriAlpha Dec 12, 2023
9d1dde1
redo activity_main
BriAlpha Dec 12, 2023
497e66e
update
BriAlpha Dec 12, 2023
abec62f
update history
BriAlpha Dec 12, 2023
6a5e4c3
update finally
BriAlpha Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 13 additions & 63 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,65 +1,15 @@
# Built application files
*.apk
*.ap_

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
.idea/caches

# Keystore files
# Uncomment the following line if you do not want to check your keystore files in.
#*.jks

# External native build folder generated in Android Studio 2.2 and later
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild

# Google Services (e.g. APIs or Firebase)
google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md
.cxx
local.properties
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 21 additions & 4 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions .idea/modules.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 34 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,33 +1,53 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
namespace = "com.example.can301.things"
compileSdk 33

defaultConfig {
applicationId "com.example.yzbkaka.things"
minSdkVersion 15
targetSdkVersion 26
applicationId "com.example.can301.things"
minSdk 26
// targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dependenciesInfo {
includeInApk false
includeInBundle false
}
buildFeatures {
viewBinding true
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.0.0-beta1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:0.5'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.lifecycle:lifecycle-livedata:2.0.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'
implementation 'androidx.navigation:navigation-fragment:2.0.0-rc02'
implementation 'androidx.navigation:navigation-ui:2.0.0-rc02'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'org.litepal.android:java:3.0.0'
compile 'com.prolificinteractive:material-calendarview:1.4.3'
// implementation 'com.pr7olificinteractive:material-calendarview:1.4.3'
implementation 'com.prolificinteractive:material-calendarview:1.4.3'
//MPAndroidChart
implementation("com.github.PhilJay:MPAndroidChart:v3.1.0")
}
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.example.yzbkaka.things","split":"","minSdkVersion":"15"}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.example.can301.things","split":"","minSdkVersion":"15"}}]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.example.yzbkaka.things;
package com.example.can301.things;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;
Expand All @@ -19,8 +19,9 @@ public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
// Context appContext = InstrumentationRegistry.getTargetContext();
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();

assertEquals("com.example.yzbkaka.things", appContext.getPackageName());
assertEquals("com.example.can301.things", appContext.getPackageName());
}
}
51 changes: 33 additions & 18 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.yzbkaka.things">
package="com.example.can301.things">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.android.alarm.permission.SET_ALARM"/>

<application
Expand All @@ -13,48 +15,61 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity" />
<activity android:name=".Today.NoteActivity" />
<activity android:name="com.example.can301.things.MainActivity" />
<activity android:name="com.example.can301.things.Today.NoteActivity" />
<activity
android:name=".Today.TodayCreateActivitty"
android:name="com.example.can301.things.Today.TodayCreateActivitty"
android:theme="@style/MyTheme1"
android:windowSoftInputMode="stateVisible|adjustPan" />
<activity
android:name=".Today.AlterTodayActivity"
android:name="com.example.can301.things.Today.AlterTodayActivity"
android:theme="@style/MyTheme1"
android:windowSoftInputMode="stateVisible|adjustPan" />
<activity android:name=".Log.LogActivity" />
<activity android:name="com.example.can301.things.Log.LogActivity" />
<activity
android:name=".Log.LogCreateActivity"
android:name="com.example.can301.things.Log.LogCreateActivity"
android:windowSoftInputMode="stateVisible|adjustPan" />
<activity android:name=".Log.AlterLogActivity" />
<activity android:name=".History.HistoryActivity" />
<activity android:name=".Schedule.ScheduleActivity" />
<activity android:name=".Schedule.ScheduleViewActivity" />
<activity android:name="com.example.can301.things.Log.AlterLogActivity" />
<activity android:name="com.example.can301.things.History.HistoryActivity" />
<activity android:name="com.example.can301.things.Schedule.ScheduleActivity" />
<activity android:name="com.example.can301.things.Schedule.ScheduleViewActivity" />
<activity
android:name=".Schedule.ScheduleCreateActivity"
android:name="com.example.can301.things.Schedule.ScheduleCreateActivity"
android:theme="@style/MyTheme1"
android:windowSoftInputMode="stateVisible|adjustPan" />
<activity android:name=".StartActivity">
<activity
android:name="com.example.can301.things.Record.AnalyzeActivity"
android:exported="false" />
<activity
android:name="com.example.can301.things.Record.RecordListActivity"
android:exported="false" />
<activity
android:name="com.example.can301.things.Record.RecordActivity"
android:exported="true"
android:windowSoftInputMode="stateVisible|adjustPan">
</activity>
<activity android:name="com.example.can301.things.Tomato.TomatoActivity" />
<activity android:name="com.example.can301.things.StartActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Setting.SettingActivity" />
<activity android:name="com.example.can301.things.Setting.SettingActivity" />

<service
android:name=".Service.SendMessage"
android:name="com.example.can301.things.Service.SendMessage"
android:enabled="true"
android:exported="true" />

<activity android:name=".Setting.ExplainActivity" />
<activity android:name="com.example.can301.things.Setting.ExplainActivity_Today" />
<activity android:name="com.example.can301.things.Setting.ExplainActivity_Tomato" />
<activity android:name="com.example.can301.things.Setting.ExplainActivity_Log" />
<activity
android:name=".Schedule.AlterScheduleActivity"
android:name="com.example.can301.things.Schedule.AlterScheduleActivity"
android:theme="@style/MyTheme1"
android:windowSoftInputMode="stateVisible|adjustPan" />
<activity android:name=".Setting.AboutActivity"></activity>
</application>

</manifest>
Loading