일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Android Apk 이름 변경
- apache gzip
- fragment
- 안드로이드
- release unsigned
- error
- Exception
- Program type already present
- java error
- android fragment
- tomcat
- jQuery
- Android Apk 이름
- R프로그래밍
- Firebase
- release Apk
- css
- Eclipse
- DataTable
- MySQL
- Android Apk
- Java
- Android
- Kotlin
- html
- FLUTTER
- android error
- JavaScript
- spring
- CSS사용법
- Today
- Total
목록분류 전체보기 (158)
selfstarter
Javascript copy paste 복사 붙여넣기 방지 이 방법은 표준이 아니므로 동작을 안하는 웹브라우저가 있을 수 있다 jquery 이벤트 사용할 것 $(function(){ $("#textarea").on("paste", function() { return false; }); });
Window10 확장자 보이기 폴더에서 보기-옵션-폴더 및 검색 옵션 변경(O) 선택 폴더옵션-보기-알려진 파일 형식의 파일 확장명 숨기기 선택 해제
XML에 선언된 Fragment Java객체로 가져오기 android.app.Fragment 사용 시 Fragment fragment = getFragmentManager().findFragmentById(R.id.fragment); androidx.fragment.app.Fragment 사용 시 Fragment fragment = getSupportFragmentManager().findFragmentById(R.id.fragment_list);
Java instanceof example instanceof는 데이터의 자료형을 확인해서 데이터 자료형에 따라 각자 다른 처리를 다르게 할 때 자주 쓰인다 부모로 Object를 가지고 있는 DataType만 instanceof로 비교가 가능하다 Wrapper class가 아닌 기본 자료형 int도 Integer로 확인되는 걸 확인할 수 있다 상속을 한 class는 instanceof를 사용할 때 반드시 child class 형을 먼저 확인해야 한다. child class 보다 parent class가 먼저 있다면 parent class type으로 인식된다. 반드시 자식 class type을 먼저 체크하자 Example package javaTest; import java.util.ArrayList; ..
No enclosing instance of type Myani is accessible Error No enclosing instance of type Myani is accessible Code public class TestMain { public static void main(String[] args) { AAA aaa = new AAA(); } public class AAA { public AAA() { } }} Case main함수 내에 AAA class를 생성하는 코드에서 오류 발생 확인해 보니 static main은 static 이므로 이미 다른 class들 보다 먼저 생성되어져 메모리 상에 올라가 있다. 그런데 AAA class는 static class가 아니므로 메모리상에 없기 때문에 ..
javascript escape 인코딩 함수. url에서 한글을 인코딩할 때 사용(가 -> %uAC00) 한글인지 영문인지 구분할 때도 인코딩되지 않은 한글은 length가 1이기 때문에 인코딩 후 구분할 수 있다.var value1 = '가'; var value2 = 'a'; var value3 = '2'; console.log("가:"+escape(value1)); console.log("a:"+escape(value2)); console.log("2:"+escape(value3)); console.log("가 length:"+value1.length); console.log(escape(value1)+" length:"+escape(value1).lengt..
DrawerLayout Drawer는 서랍 화면에 나타나지 않다가 왼쪽에서 오른쪽으로 touch를 drag하면 나타난다 서랍처럼 열리는 메뉴화면과 메뉴를 열지 않았을 때 보이는 주화면으로 이루어져 있다 주화면은 DrawerLayout에 첫번째이고 layout_gravity 속성을 가지는 메뉴가 서랍메뉴가 된다 메뉴화면이 어느방향으로 열리고 닫힐지는 layout_gravity 속성으로 정의한다 layout_gravity는 오로지 left, right만 지정할 수 있다 Drawer의 너비는 고정값, 높이는 화면 높이와 같게 맞춘다 Dependencies 추가 dependencies { implementation "androidx.drawerlayout:drawerlayout:1.0.0" } Code Draw..
column constraints or comma expected 해결방법 Error or comma expectedCode private static final String SQL_CREATE_USER = "CREATE TABLE "+User.UserEntry.TABLE_NAME + " (" + User.UserEntry.ID + " INTEGER PRIMARY KEY," + User.UserEntry.PASS + " VARCHAR(20)";Case Sqlite query문 작성 시 mysql처럼 VARCHAR(20)을 사용했다. 하지만 sqlite의 문자열 자료형은 TEXT이다. 그래서 TEXT로 수정했다 그래도 문제가 계속 발생하였다. 확인해보니 create query문에서 컬럼이름을 작성할 때 괄..