HwiHyeon_Programing
close
프로필 배경
프로필 로고

HwiHyeon_Programing

  • 분류 전체보기 (32)
    • 안드로이드 (11)
      • 안드로이드_기초 (0)
      • 안드로이드_java (9)
      • 안드로이드_Kotlin (2)
      • 안드로이드_오류 (0)
    • Server (20)
      • Web Server_기초 (0)
      • Spring(구버전) (16)
      • Spring(구버전) 오류 (4)
      • Nodejs (0)
      • Spring5(Kotlin) (0)
      • Docker (0)
      • Jenkins (0)
      • Swagger (0)
    • Database (0)
      • ORACLE (0)
      • MySQL (0)
    • 기타 (1)
    • 자료구조 (0)
  • 홈
  • 태그
  • 방명록
02. 안드로이드_Kotlin : 커스텀 다이얼로그

02. 안드로이드_Kotlin : 커스텀 다이얼로그

1. res 파일 생성 및 정의 - 기본적인 색상 정의 or 레이아웃에 직접 작성 - values > colors.xml #FFFFFF #7C7C7C - 클릭 모션 이미지 생성 - res > drawable > btn_click_base.xml - 다이얼로그 레이아웃 생성 - res > layout > dialog_alert.xml - 엑티비티 레이아웃에 버튼 정의 - res > layout > activity_main.xml 2. 다이얼로그 코드 작성 - 위젯 선언 별도 함수로 정리 - 클릭 이벤트 정의 (다중 클릭 이벤트가 존재할 수 있으므로 onClick 함수로 사용) - com.project.mykotlin > dialog > CommAlertDialog package com.project.myk..

  • format_list_bulleted 안드로이드/안드로이드_Kotlin
  • · 2022. 4. 26.
  • textsms
01. 안드로이드_Kotlin : 버튼 클릭 이벤트

01. 안드로이드_Kotlin : 버튼 클릭 이벤트

1. 화면 구성 - layout > activity_main.xml 2. 클릭 이벤트 설정 - java > com.project.mykotlin > MainActivity\ - 개별 클릭 이벤트보다 통합 관리할 수 있도록 별도 처리 - 버터나이프는 미적용 package com.project.mykotlin import android.app.Activity import android.os.Bundle import android.util.Log import android.view.View import android.widget.Button class MainActivity : Activity(),View.OnClickListener { override fun onCreate(savedInstanceState..

  • format_list_bulleted 안드로이드/안드로이드_Kotlin
  • · 2022. 4. 25.
  • textsms
안드로이드 - okHttp3/WebSocket 구축 및 서버 테스트

안드로이드 - okHttp3/WebSocket 구축 및 서버 테스트

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. 코..

  • format_list_bulleted 안드로이드/안드로이드_java
  • · 2022. 4. 13.
  • textsms
16. 스프링 - WebSocket 구축

16. 스프링 - WebSocket 구축

1. 들어가기 전 - 안드로이드와 연동 테스트를 위한 WebSocket 구축 테스트 - 웹에서의 소켓 통신 부분은 따로 구성되지 않음 - https://hwihyeon.tistory.com/31 안드로이드 - okHttp3/WebSocket 구축 및 서버 테스트 1. 들어가기 전 - 스프링 서버와 연동 테스트 - https://hwihyeon.tistory.com/30 16. 스프링 - WebSocket 구축 1. 들어가기 전 - 안드로이드와 연동 테스트를 위한 WebSocket 구축 테스트 - 웹에서의 소.. hwihyeon.tistory.com 2. dependency 추가 - pom.xml 추가 com.fasterxml.jackson.core jackson-databind 2.9.0 org.spri..

  • format_list_bulleted Server/Spring(구버전)
  • · 2022. 4. 13.
  • textsms
스프링 - Add and Remove 프로젝트 없음

스프링 - Add and Remove 프로젝트 없음

1. Project Facets - Dynamic Web Moudule 체크 확인 - 만일 체크 시 새로이 프로젝트를 등록하는 경우 경로를 webapp 폴더로 지정 - 결과는 2번에서 확인할 수 있음 2. Web Deployment Assembly - /src/main/webapp 부분 확인 - 해당 설정이 서버에서 프로젝트의 설정 파일을 가져감 - Maven 인식이 되지 않을 시 하단의 Maven 역시 체크 필요

  • format_list_bulleted Server/Spring(구버전) 오류
  • · 2022. 4. 13.
  • textsms

안드로이드 - 버터나이프 적용

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); //오브젝트에 클릭 이벤트 설정 ..

  • format_list_bulleted 안드로이드/안드로이드_java
  • · 2022. 4. 12.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • ···
  • 6
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (32)
    • 안드로이드 (11)
      • 안드로이드_기초 (0)
      • 안드로이드_java (9)
      • 안드로이드_Kotlin (2)
      • 안드로이드_오류 (0)
    • Server (20)
      • Web Server_기초 (0)
      • Spring(구버전) (16)
      • Spring(구버전) 오류 (4)
      • Nodejs (0)
      • Spring5(Kotlin) (0)
      • Docker (0)
      • Jenkins (0)
      • Swagger (0)
    • Database (0)
      • ORACLE (0)
      • MySQL (0)
    • 기타 (1)
    • 자료구조 (0)
최근 글
인기 글
최근 댓글
태그
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바