1. 들어가기 전 - 스프링 서버와 연동 테스트 - https://hwihyeon.tistory.com/30 16. 스프링 - WebSocket 구축 1. 들어가기 전 - 안드로이드와 연동 테스트를 위한 WebSocket 구축 테스트 - 웹에서의 소켓 통신 부분은 따로 구성되지 않음 2. dependency 추가 - pom.xml 추가 com.fasterxml.jackson.core jackson-datab.. hwihyeon.tistory.com 2. dependency 추가 - bulid.gralde (Module: app) //버전 확인 : https://square.github.io/okhttp/ implementation("com.squareup.okhttp3:okhttp:4.9.3") 3. 코..
1. dependency 설정 - build.gradle (Moudle: app) implementation 'com.jakewharton:butterknife:10.2.1' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1 2. 버터나이프 사용 전 후 비교 - 1 ) 사용 전 : 오브젝트 선언 후 id 연결 및 리스너 설정, 리스너 내부에서 세팅 필요 Button mainBtnOne; Button mainBtnTwo; //오브젝트 id Setting mainBtnOne = findViewById(R.id.mainBtnOne); mainBtnTwo = findViewById(R.id.mainBtnTwo); //오브젝트에 클릭 이벤트 설정 ..
1. 들어가기 전 - 안드로이드 어플, Spring Web Server 및 DB 서버가 제대로 동작되고 있다는 전제 조건 하에 진행 - Spring Server 구축은 Web Server 구축 목록 참조 - Volley 참조 : https://developer.android.com/training/volley?hl=ko 2. Volley 다운로드 - build.gradle (Module: app) //버전 확인 : https://developer.android.com/training/volley?hl=ko implementation 'com.android.volley:volley:1.1.1' 3. 안드로이드 - 코드 작성 - 별도의 클래스 파일로 작성 - 호출 및 수신 부분이 메인 코드(Activity ..
1. 들어가기 전 - 안드로이드 어플, Spring Web Server 및 DB 서버가 제대로 동작되고 있다는 전제 조건 하에 진행 - Spring Server 구축은 Web Server 구축 목록 참조 2. 안드로이드 - Retrofit2 설치 - interceptor : http 통신 로그를 보기 위해서 추가로 설치 - build.grade (Module.app) //버전 확인 : https://github.com/square/retrofit (Download 부분) implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' implementation 'com.google.code.gson:gson:2.7' implementation 'com...
1. Firebase 회원가입 필요 - 도움말 : 안드로이드 스튜디오 상단 > Tool > Firebase > Cloud Messaging - 참조 : https://hwihyeon.tistory.com/4 Google firebase_안드로이드 사용방법 1. 구글 로그인 후 아래 사이트 접속 - https://firebase.google.com/?hl=ko Firebase Firebase는 고품질 앱을 빠르게 개발하고 비즈니스를 성장시키는 데 도움이 되는 Google의 모바일 플랫폼입니다. firebase... hwihyeon.tistory.com 2. 1번 사항 완료 후 dependecies 설정 추가 - build.gradle (Module: app) implementation 'com.google..
1. Activity에서 Class 정의 - 구현이 단순한 관계로 설명없이 소스 서술 NotificationManager topMsgManager; NotificationCompat.Builder topMsgBuilder; private static String CHANNEL_ID = "test_app_topNotice"; private static String CHANEL_NAME = "test_app_topNotice"; 2. 알림창을 띄울 함수 정의 public void showTopNotice() { topMsgBuilder = null; topMsgManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); //CHANNEL_I..