분류 전체보기(278)
-
[챕터 1-3] 기본 앱 실행
onClick : onClickButton text : 확인 MainActivity.java onClickButton() 에 대한 메소드 정의 - 메세지 출력하는 기능 더보기 package org.minokuma.hello; import android.os.Bundle; import android.view.View; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInsta..
2020.02.08 -
[챕터 1-2] 안드로이드 스튜디오 프로젝트 시작 및 설정
안드로이드 스튜디오 실행 후 새 프로젝트 시작 Empty Activity 프로젝트 선택 Name : Hello Package name : org.minokuma.hello Language : Java (*) 자신이 원하는 패키지명으로 설정 (*) 사용자 계정은 반드시 영문으로 설정되어 있을 것. 안드로이드 스튜디오 실행화면 AVD Manager 다이얼로그 실행 (우측상단으로부터 네번째 아이콘) 가상장치 실행 픽셀 2 그대로 선택 에뮬레이터 선택 및 다운로드 API 레벨 : 29 ABI : x86_64 완료 후 Next 그대로 완료 Action의 ➤ 버튼 클릭 에뮬레이터 실행 화면 안드로이드 에뮬레이터로 소스 실행 단축키 : Shift : F9 텍스트 수정해보기 설정 File - Settings Edito..
2020.02.08 -
[챕터 1-1] 안드로이드 스튜디오 설치
안드로이드 스튜디오 설치 https://developer.android.com/studio
2020.02.08 -
[E-3-5] 게시글 삭제
게시글 삭제 src/main/resources templates/layout posts-update.mustache 더보기 {{>layout/header}} 게시글 수정 글 번호 제목 작성자 내용 {{post.content}} 취소 수정 완료 삭제 {{>layout/footer}} index.js 더보기 var main = { init : function () { var _this = this; $('#btn-save').on('click', function() { _this.save(); }); $('#btn-update').on('click', function() { _this.update(); }); $('#btn-delete').on('click', function() { _this.delete(..
2020.02.01 -
[E-3-4] 게시글 수정 화면 생성
게시글 수정 src/main/resources templates posts-update.mustache 더보기 {{>layout/header}} 게시글 수정 글 번호 제목 작성자 내용 {{post.content}} 취소 수정 완료 {{>layout/footer}} src/main/resources static.js.app index.js 더보기 var main = { init : function () { var _this = this; $('#btn-save').on('click', function() { _this.save(); }); $('#btn-update').on('click', function() { _this.update(); }); }, save : function (){ var data ..
2020.02.01 -
[E-3-3] 전체 조회 화면
src/main/java templates/layout index.mustache 더보기 {{>layout/header}} 스프링 부트로 시작하는 웹 서비스 Ver 2.0 글 등록 게시글 번호 제목 작성자 최종수정일 {{#posts}} {{id}} {{title}} {{author}} {{modifiedDate}} {{/posts}} {{>layout/footer}} src/main/java com.minokuma.book.springboot domain/posts PostsRepository.java 인터페이스 더보기 package com.minokuma.book.springboot.domain.posts; import org.springframework.data.jpa.repository.JpaRep..
2020.02.01