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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added TeamProjects.zip
Binary file not shown.
5 changes: 4 additions & 1 deletion TeamProjects/.idea/deploymentTargetDropDown.xml

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

2 changes: 1 addition & 1 deletion TeamProjects/.idea/gradle.xml

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

20 changes: 20 additions & 0 deletions TeamProjects/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,24 @@ dependencies {

// Add the dependencies for any other desired Firebase products
// https://firebase.google.com/docs/android/setup#available-libraries
// Add the dependency for the Firebase Authentication library
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation("com.google.firebase:firebase-auth")

// Declare the dependency for the Cloud Firestore library
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation("com.google.firebase:firebase-firestore")

// FirebaseUI for Cloud Firestore
implementation ("com.firebaseui:firebase-ui-firestore:8.0.0")
implementation ("androidx.paging:paging-runtime:3.2.1")

// 네이버 지도 SDK
implementation("com.naver.maps:map-sdk:3.17.0")
//위치받아오기 구글서비스
implementation("com.google.android.gms:play-services-location:21.0.1")
//gson - geocoding 사용에 필요
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation ("com.squareup.retrofit2:converter-gson:2.9.0")

}
37 changes: 33 additions & 4 deletions TeamProjects/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" >
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />

<application
android:allowBackup="true"
Expand All @@ -11,15 +15,18 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication"
tools:targetApi="31" >
tools:targetApi="31">
<activity
android:name=".chat.ChatActivity"
android:exported="true" />
<activity
android:name=".initial_screen.sign_in"
android:exported="false"
android:label="@string/title_activity_sing_in"
android:theme="@style/Theme.MyApplication" />
<activity
android:name=".initial_screen.log_in"
android:exported="true" >
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand All @@ -31,13 +38,35 @@
android:exported="false" />
<activity
android:name=".initial_screen.MainActivity"
android:exported="true" >
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=".map.NaverMapRealNew"
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=".map.NaverMapGeoCodingTest"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="com.naver.maps.map.CLIENT_ID"
android:value="uilhyth3w8" />

</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package com.example.myapplication.adapter;

public class FriendRequest {
private String senderUid;
private String receiverUid;
private String status;

// 기본 생성자 (필수)
public FriendRequest() {
// Firestore에서 객체를 읽어올 때 필요
}

// 매개변수를 받는 생성자
public FriendRequest(String senderUid, String receiverUid, String status) {
this.senderUid = senderUid;
this.receiverUid = receiverUid;
this.status = status;
}

// Getter 및 Setter 메서드 (필요한 경우)
public String getSenderUid() {
return senderUid;
}

public void setSenderUid(String senderUid) {
this.senderUid = senderUid;
}

public String getReceiverUid() {
return receiverUid;
}

public void setReceiverUid(String receiverUid) {
this.receiverUid = receiverUid;
}

public String getStatus() {
return status;
}

public void setStatus(String status) {
this.status = status;
}
}
Loading