Skip to content

Commit

Permalink
Add CPR2U-Andriod
Browse files Browse the repository at this point in the history
  • Loading branch information
yejin9858 committed Mar 31, 2023
2 parents eb6e9bb + eb6e9bb commit c4d7afd
Show file tree
Hide file tree
Showing 245 changed files with 11,612 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CPR2U-Android/.github/ISSUE_TEMPLATE/기본-이슈템플릿.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 기본 이슈템플릿
about: 이거쓰세용
title: ''
labels: ''
assignees: ''

---

## 🔥 Issue

CalendarFragment 기초 세팅 완료하기!

## 📌 Todo

- [ ] 뷰 세팅(캘린더 제외)
- [ ] 로직 짜기(캘린더 제외)
13 changes: 13 additions & 0 deletions CPR2U-Android/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## ❤️‍🔥 관련 이슈

close #1

## ✨ PR Point

- DI
- Base Activity, Base Fragment
- 라이브러리 세팅
- 바텀 네비게이션 세팅
- 기타 뷰 세팅

<img src = "..." width = 200>
166 changes: 166 additions & 0 deletions CPR2U-Android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
### Kotlin ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

### AndroidStudio ###
# Covers files to be ignored for android development using Android Studio.

# Built application files
*.apk
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files

# Generated files
bin/
gen/
out/

# Gradle files
.gradle
.gradle/
build/

# Signing files
.signing/

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

# Proguard folder generated by Eclipse
proguard/

# Log Files

# Android Studio
/*/build/
/*/local.properties
/*/out
/*/*/build
/*/*/production
captures/
.navigation/
*.ipr
*~
*.swp

# Keystore files
*.jks
*.keystore

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

# Android Patch
gen-external-apklibs

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# NDK
obj/

# IntelliJ IDEA
*.iml
*.iws
/out/

# User-specific configurations
.idea/caches/
.idea/libraries/
.idea/shelf/
.idea/workspace.xml
.idea/tasks.xml
.idea/.name
.idea/compiler.xml
.idea/copyright/profiles_settings.xml
.idea/encodings.xml
.idea/misc.xml
.idea/modules.xml
.idea/scopes/scope_settings.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml
.idea/datasources.xml
.idea/dataSources.ids
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/assetWizardSettings.xml
.idea/gradle.xml
.idea/jarRepositories.xml
.idea/navEditor.xml
.idea/discord.xml
.idea/git_toolbox_prj.xml
.idea/deploymentTargetDropDown.xml

# OS-specific files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Legacy Eclipse project files
.classpath
.project
.cproject
.settings/

# Mobile Tools for Java (J2ME)

# Package Files #

# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)

## Plugin-specific files:

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Mongo Explorer plugin
.idea/mongoSettings.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Uncomment the following line in case you need and you don't have the release build type files in your app
release/

### AndroidStudio Patch ###

!/gradle/wrapper/gradle-wrapper.jar
3 changes: 1 addition & 2 deletions CPR2U-Android/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# CPR2U-Android

# CPR2U-Android
1 change: 1 addition & 0 deletions CPR2U-Android/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
135 changes: 135 additions & 0 deletions CPR2U-Android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'com.google.gms.google-services'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
}

Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
def map_api_key_in_manifest = properties.getProperty("MAPS_API_KEY")

android {
namespace 'com.example.cpr2u_android'
compileSdk 33

defaultConfig {
buildConfigField(
"String",
"BASE_URL",
properties.getProperty("BASE_URL")
)
applicationId "com.example.cpr2u_android"
minSdk 26
targetSdk 33
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
manifestPlaceholders = [MAPS_API_KEY: map_api_key_in_manifest]
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
dataBinding = true
viewBinding true
}
}

dependencies {

implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'

implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.android.libraries.places:places:3.0.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

//FragmentContainerView
implementation 'androidx.fragment:fragment-ktx:1.5.5'

//Navigation Component
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"

//Gson
implementation "com.google.code.gson:gson:2.8.9"

// Gson Converter
implementation "com.squareup.retrofit2:converter-gson:2.9.0"

//ViewModel
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

//LiveData
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"

//LifeCycle
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
androidTestImplementation "androidx.arch.core:core-testing:$arch_version"
implementation 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1'
implementation 'androidx.fragment:fragment-ktx:1.5.5'

//ViewPager2
implementation "androidx.viewpager2:viewpager2:1.1.0-beta01"

/* Third Party Library */

//Glide
implementation 'com.github.bumptech.glide:glide:4.12.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'

//Retrofit2
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"

//okHttp
implementation "com.squareup.okhttp3:logging-interceptor:$okHttp_version"
implementation "com.squareup.okhttp3:okhttp:$okHttp_version"

implementation "com.airbnb.android:lottie:3.6.1"

//Firebase SDK 추가
implementation platform('com.google.firebase:firebase-bom:29.1.0')
implementation 'com.google.firebase:firebase-analytics-ktx'

//Firebase Cloud Messaging(FCM)
implementation "com.google.firebase:firebase-messaging-ktx:23.1.2"

//Timber
implementation 'com.jakewharton.timber:timber:5.0.1'

// koin
implementation "io.insert-koin:koin-androidx-scope:$koin_version"
implementation "io.insert-koin:koin-androidx-viewmodel:$koin_version"
testImplementation "io.insert-koin:koin-test:$koin_version"

implementation 'org.tensorflow:tensorflow-lite:2.5.0'
implementation 'org.tensorflow:tensorflow-lite-gpu:2.5.0'
implementation 'org.tensorflow:tensorflow-lite-support:0.3.0'

androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation "com.google.truth:truth:1.1.3"

implementation 'com.google.android.gms:play-services-maps:18.1.0'
implementation 'com.google.android.gms:play-services-location:21.0.1'
implementation 'com.google.maps.android:android-maps-utils:0.5'
}
Loading

0 comments on commit c4d7afd

Please sign in to comment.