Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions kangpearl/week1/.github/ISSUE_TEMPLATE/workbook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Mission Templates
about: UMC 주차 미션 이슈 템플릿
title: ''
labels: ''
assignees: ''

---

# ✨ 이슈 내용
> 이슈 개요를 입력해주세요.

- [ ] 기능 1 설명
- [ ] 기능 2 설명
- [ ] 기능 3 설명

---

# 📌 참고 사항
> 추가적인 설명이 필요한 경우 입력해주세요.
22 changes: 22 additions & 0 deletions kangpearl/week1/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 📌 PR 제목

> 해당 pr에 대한 내용을 요약해주세요

## ✅ 변경 사항

> 이번 PR에서 변경된 내용을 간략히 정리해주세요.

- [ ] 기능1
- [ ] 기능 2

## 📷 영상 및 스크린샷

> 작업 내용을 스크린샷 또는 영상 형태로 올려주세요.

## 🔗 알게 된 사항

> 워크북과 과제를 하며 알게 된 점을 작성해주세요

## 📝 질문 사항

> 워크북과 과제를 하며 궁금했던 점을 작성해주세요
47 changes: 33 additions & 14 deletions kangpearl/week1/.gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
# Gradle files
.gradle/
build/

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

# Log/OS Files
*.log

# Android Studio generated files and folders
captures/
.externalNativeBuild/
.cxx/
*.aab
*.apk
output-metadata.json

# IntelliJ
*.iml
.idea/
misc.xml
deploymentTargetDropDown.xml
render.experimental.xml

# Keystore files
*.jks
*.keystore

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

# Android Profiling
*.hprof
49 changes: 49 additions & 0 deletions kangpearl/week1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 💚 Android A 💚

DGU-UMC 9기 Android 스터디 A조

## 💻 Member

| 박박지현 | 박박지현 | 박박지현 | 박박지현 |
| :-----------------------------------: | :-----------------------------------: | :-----------------------------------: | :-----------------------------------: |
| [박지현](https://github.com/wlgusqkr) | [박지현](https://github.com/wlgusqkr) | [박지현](https://github.com/wlgusqkr) | [박지현](https://github.com/wlgusqkr) |

## 🌳 branch 규칙

```bash
├─main
├─Ean/main
│ └─Ean/#1
```

1. `닉네임/main 브랜치`가 기본 브랜치로 pr 보낼 때 main 브랜치가 아닌 닉네임/main 브랜치로 올립니다.
2. 매주 실습, 미션은 각자의 닉네임/main 브랜치를 base 브랜치로 삼아 `닉네임/이슈번호 브랜치`를 생성하여 관련 파일을 업로드합니다.
3. 모든 팀원들의 approve를 받으면, pr을 머지합니다. approve와 merge는 스터디 진행 중에 이루어집니다.

## 📂 디렉터리 규칙

```bash
├─닉네임
├─미션이름 (예: week1, flo_clone)
│ └─프로젝트명
├─미션이름
│ └─프로젝트명
```

## 🔖 커밋 컨벤션

1. 커밋에 해당하는 커밋 메시지 쓰기 (예: [parkparkjihyeon/#1] mission {내용} )

| Message | 설명 |
| :------: | :-------------------- |
| mission | 미션 수행 |
| practice | 실습 수행 |
| keyword | 키워드 정리 |
| workbook | 워크북 정리 |
| fix | 버그 수정 |
| docs | 문서 수정 |
| comment | 주석 추가 및 변경 |
| test | 테스트 코드 추가 |
| rename | 파일 혹은 폴더명 수정 |
| remove | 파일 혹은 폴더 삭제 |
| chore | 기타 변경사항 |
Empty file added kangpearl/week1/backy/test.txt
Empty file.
Empty file.
15 changes: 15 additions & 0 deletions kangpearl/week1/kangpearl/week1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
File renamed without changes.
Empty file added kangpearl/week1/naru/test.txt
Empty file.
Empty file added kangpearl/week1/nick/text.txt
Empty file.
15 changes: 15 additions & 0 deletions kangpearl/week2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
1 change: 1 addition & 0 deletions kangpearl/week2/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
52 changes: 52 additions & 0 deletions kangpearl/week2/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
}

android {
namespace = "com.example.week2"
compileSdk = 36

buildFeatures {
viewBinding=true
}

defaultConfig {
applicationId = "com.example.week2"
minSdk = 24
targetSdk = 36
versionCode = 1
versionName = "1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
}

dependencies {

implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
21 changes: 21 additions & 0 deletions kangpearl/week2/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.example.week2

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.example.week2", appContext.packageName)
}
}
28 changes: 28 additions & 0 deletions kangpearl/week2/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Week2">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SongActivity"
android:exported="true"/>
</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package com.example.week2

import androidx.activity.enableEdgeToEdge
import androidx.core.view.ViewCompat
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.week2.databinding.ActivityMainBinding
import com.example.week2.databinding.FragmentHomeBinding

class MainActivity : AppCompatActivity() {

lateinit var binding: FragmentHomeBinding

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding = FragmentHomeBinding.inflate(layoutInflater)
setContentView(binding.root)

binding.miniplayerRootLayout.setOnClickListener {
startActivity(Intent(this, SongActivity::class.java))
}
}
}

//val textView=findViewById<TextView 거나 ImageView>(R.id.album_album_iv)
//findViewById: xml에 있는 View를 가져올 수 있음
//R: Resource
//R.id.album_album_iv -> album_album_iv가 id인 ImageView를 가져옴
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.example.week2

import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.example.week2.databinding.ActivitySongBinding

class SongActivity : AppCompatActivity() {
lateinit var binding: ActivitySongBinding

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding = ActivitySongBinding.inflate(layoutInflater)
setContentView(binding.root)

binding.songDownIb.setOnClickListener {
finish()
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading