일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 구글맵스
- GoogleMaps
- 랜덤넘버
- stylesheet
- 랜덤번호
- JS
- 안드로이드
- fragment
- 리액트
- Java
- Linux
- React
- 자바스크립트
- Hook
- Javscript
- button
- Kotlin
- 코틀린
- RecyclerView
- TypeScript
- array
- 스프링부트
- Android
- TextView
- 오버라이딩
- npm
- scrollview
- JavaScript
- nodejs
- SpringBoot
- Today
- Total
목록코딩 기록 (150)
타닥타닥 개발자의 일상

우선 연결을 하려면 My SQl을 다운로드 해야한다. 아래의 페이지에서 No thanks just start my download 클릭하면 회원가입없이 다운로드 가능. 첫번째 링크는 installer 두번째 링크는 java connector다. 참고로 본인은 window 64bit라서 이와 동일하게 받음. https://dev.mysql.com/downloads/file/?id=509737 MySQL :: Begin Your Download The world's most popular open source database Contact MySQL | Login | Register dev.mysql.com https://dev.mysql.com/downloads/file/?id=509728 MySQL ::..

1. Oracle SQL과 이클립스 연결하기 Open Perspective에서 Databasee Development 선택하고 Open DataBase Connections 우클릭 > New > 새창으로 New Connection Profile 뜨면 Oracle 선택 체크한 부분 본인이 사용하고자 하는 대로 변경. Username/Password는 연결하고자하는 오라클의 계정과 비밀번호로 입력. 우측 상단의 십자 볼트 + 버튼 클릭 본인의 오라클 버전과 맞는 버전 선택. 본인은 Orcacle11선택 저것만 선택하면 OK버튼이 활성화가 안된다. Name/Type 탭 옆에 있는 JAR List탭 선택 이전에 한번 연결한적이 있다면 ojdbc14.jar이 있을텐데, 이거 말고 새로 연결해줘야 된다. 기존에 저..

편집이 필요한 문서 google_maps.api.xml MainActivity MapsFragment activity_main.xml fragment_maps.xml AndroidMainifest.xml build.gradle(:app) *fragment_maps.xml은 com.example.googlemapsfragment 우클릭 > 새로 만들기 > Fragment > Google Maps Fragment 로 생성 google_maps.api.xml YOUR API KEY YOUR API KEY 부분에 구글맵스의 API 키를 넣는다. API키 받는 법은 아래 링크의 글에 나와있다. https://developerson.tistory.com/106 kotlin 코틀린 구글 맵스 API 안드로이드 화면에..

편집해야할 폴더 및 파일 구성 MainActivity, activity_main.xml, AndroidManifest.xml AndroidManifest.xml 저장소의 파일을 읽고 불러올수 있도록 아래의 코드를 삽입해준다. 코드가 적용된 전체 문서 activity_main.xml MainActivity.kt package com.example.imagecall import android.Manifest import android.graphics.Bitmap import android.graphics.BitmapFactory import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log impo..

폴더 및 파일 구성 AndroidManifest.xml에 인터넷 접속 및 위치 추적 가능하게 하는 아래의 코드 삽입 코드 삽입된 전체 코드는 아래와 같다. AndroidManifest.xml activity_main.xml MainActivity.kt package com.example.geocoding import android.content.Intent import android.location.Address import android.location.Geocoder import android.net.Uri import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import andro..

새로운 프로젝트에서 Google Maps Activity 생성. AndroidManinfest.xml에 아래의 코드 삽입하고 Sync Now 누르기. 인터넷과 위치 추적 허용해주는 코드 아래는 코드 적용된 전체 코드 AndroidManifest.xml google_maps_api.xml AIzaSyD_SLUKJXnyGEweAKXFxV7R2-yqDn7xUF0 MapsActivity.kt package com.example.myapplication import android.Manifest import android.annotation.SuppressLint import android.location.Location import android.os.Bundle import android.os.Looper i..

파일 경로 및 폴더 위치 AndroidManifest.xml 기존의 AndroidManifest에 아래의 부분을 적용하였다. 적용한 전체코드 activity_main.xml MainActivity.kt package com.example.camera import android.Manifest import android.app.Activity import android.content.ContentValues import android.content.Intent import android.content.pm.PackageManager import android.graphics.Bitmap import android.graphics.Camera import android.net.Uri import androi..

위와 같은 형태의 가계부를 만들 예정 폴더 및 파일 구성 CustomAdapter : RecyclerView와 arrayList를 이어주는 역할 DBHelper : SQLite을 통한 데이터 입력, 수정, 검색 등을 시행하는 함수가 내재된 공간 HouseKeepingDate : Dto InsertActivity : SQLite의 입력 기능을 실행하는 페이지 MainActivity: 메인화면, 메뉴를 보여주는 페이지 SearchActivity: 특정한 일자의 검색을 SQLite로 실행하는 페이지 Insert,SearchActivity는 example 폴더 우클릭 > 새로 만들기 > Activity > Empty Activity 로 생성해야한다. HouseKeepingDate.kt package com.ex..

sqlite는 MySQL처럼 외부에 있는 데이터가 아니라 Android 내부에 저장된 자료이다. 폴더 및 파일구성 com.example.sample36 폴더에 DBHelper 클래스 만들기 activity_main.xml DBHelper.kt package com.example.sample36 import android.content.Context import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper class DBHelper(context: Context?,name:String?,factory:SQLiteDatabase.CursorFactory?,version: Int) : SQLiteOp..

1. 자신이 고를 숫자의 범위를 첫번째 화면에서 선택한다. 2. 프로그램이 랜덤번호를 1개 생성한다. 2.프로그램이 정한 랜덤넘버와 일치하는 번호를 누르면 bingo, 다른 번호를 누르면 safe다. bingo걸린 사람이 커피쏘기 혹은 bingo 걸린 사람이 상금 타기 등등으로 활용할 수 있다. 파일 및 폴더 구성 com.example.binggobingo 폴더 우클릭 > 새로만들기 > Activity > Empty Activity 클릭해서 SecondActivity 생성 res > layout > item_spinner.xml 생성 res > values > array.xml 생성 스피너 생성을 위한 기본 설정 item_spinner.xml array.xml 0 1 2 3 4 5 6 7 8 9 acti..