본문 바로가기

PROGRAM

(92)
MyMemo exam IndexActivity.java public class IndexActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_index); Handler handler = new Handler(); handler.postDelayed(new Runnable() { @Override public void run() { goMainActivity(); } },1500); } public void goMainActivity() { Intent intent = new In..
recyclerView Ex2 // ItemData.java import java.util.HashMap; import java.util.Map; public class ItemData { private String image; //int to String private String title; private String contents; public ItemData() { } // 기본생성자 public ItemData(String image, String title, String contents) { this.image = image; //int to String this.title = title; this.contents = contents; } public String getImage() { return image; } pub..
firebase db activity_main.xml MainActivity.java package com.example.firebaseex2; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widg..
Anaconda - (ModuleNotFoundError: No module named 'cv2') 모든 환경을 python에서 아나콘다로 바꾸기 위해서 Anaconda 설치 - Visual Studio Code 설치를 진행하고 >import cv2 실행 ModuleNotFoundError: No module named 'cv2' 이런에러 발생! >conda install opencv-python 입력하여 설치하여 보았다. 여전히 안된다. ㅠ ModuleNotFoundError: No module named 'cv2' 검색해서 나온결과 https://eehoeskrap.tistory.com/289 ModuleNotFoundError: No module named 'cv2' 윈도우 환경일 때 for windows if you have anaconda installed, you can simply do p..
리사이클러뷰-full build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.3" defaultConfig { applicationId "com.example.recyclerviewex2" minSdkVersion 23 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguar..
리사이클러뷰 build.gradle(Module: app) : 라이브러리 추가하기 dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' im..
안드로이드 검색 로그(ver.20-05-08) https://m.blog.naver.com/PostView.nhn?blogId=eominsuk55&logNo=140207792926&proxyReferer=https:%2F%2Fwww.google.com%2F [안드로이드 스튜디오 단축키] Ctrl + Alt + V, C, F, P, M : 코드를 변수, 상수, 필드, 매개변수, 메서드� 어떤 값을 특정 변수로 추출할 때 매우 유용한 단축키다. 1. Ctrl + Alt + V . 이렇게 어떤 값... blog.naver.com
설명문 띄우기