일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- CSS사용법
- FLUTTER
- DataTable
- tomcat
- android error
- Java
- R프로그래밍
- spring
- android fragment
- css
- release Apk
- error
- Kotlin
- jQuery
- Android Apk
- html
- JavaScript
- fragment
- Firebase
- Program type already present
- MySQL
- Android Apk 이름 변경
- Android
- Exception
- Android Apk 이름
- release unsigned
- Eclipse
- java error
- apache gzip
- 안드로이드
- Today
- Total
목록전체 글 (158)
selfstarter
Android drawable image에서 bitmap으로 변환 drawable image -> bitmap bitmap -> drawable image로 변환 Context context = getApplicationContext(); Drawable drawable = ResourcesCompat.getDrawable(getResources(), R.drawable.girl, null); Bitmap bitmap = ((BitmapDrawable)drawable).getBitmap(); Drawable drawable1 = new BitmapDrawable(context.getResources(), bitmap);
ajaxForm jquery 예제 로컬에서는 실행이 되지 않는다. CORS 정책에 의해 차단되었다고 나온다 from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. Name: Self introduce:
CSS정리 float float은 띄우다라는 의미. 어떤 요소를 해당위치에 확정적으로 띄우고 싶을 때 사용. 왼쪽 띄우기 : float:left 오른쪽 띄우기 : floatright 어떤 요소를 띄우게 하고 나머지 요소는 빈 공간에다가 넣고 싶을 때 사용한다 Australia, officially the Commonwealth of Australia,[12] is a sovereign country comprising the mainland of the Australian continent, the island of Tasmania, and numerous smaller islands. It is the largest country in Oceania and the world's sixth-lar..
Properties Some characters cannot be mapped using "ISO-8859-1" character encoding Error 다국어 Properties 저장 시 다음 에러 발생. 또 ISO-8859-1 인코딩을 한 상태였는데 다른사람은 이상없는데 내 자리만 다르게 인코딩됨. Some characters cannot be mapped using "ISO-8859-1" character encoding. Either change the encoding or remove the characters which are not supported by the ISO-8859-1 character encoding 1) 파일 message_vi.properties - Properties ..
Ubuntu root 비밀번호 분실 재설정 1) Ubuntu 부팅 시 Shift key를 눌러서 Ubuntu, Advanced options for Ubuntu 메뉴가 있는 화면으로 이동 2) Advanced options for Ubuntu 선택 3) (recovery mode)가 select 된 상태에서 e 버튼을 클릭 4) GUN GRUB Version 이라는 화면이나 나오는데 여기서 ro recovery nomodeset을 삭제하고 rw init=/bin/bash 라고 작성 5) ctrl + x 를 눌러서 root로 진입 6) sudo passwd root 명령어로 root의 새 비밀번호 설정
Java Reflection으로 class 정보 가져오기 Reflection은 객체의 정보를 알아내는 기능을 가진 class이다 field에 setAccessible()함수 인자를 true로 줘야 접근이 가능하다 getField와 getDeclaredFields, getMethod와 getDeclaredMethod함수의 차이는 해당 class에서 선언된 함수, 필드만 가져올 땐 Declared 붙은 함수를 사용하고, 상속받은 class의 정보도 표시하고 싶을 때는 Declared가 없는 함수를 호출한다 public static String getInfo(Object obj) { StringBuilder builder = new StringBuilder(); builder.append("pakage nam..
# layout - activity_main.xml ``` xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > ``` - fragment_detail.xml ``` android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" androi..
fragment add, replace add는 activity에 기존 fragment는 놔두고 추가하는 것. onDetch를 호출하지 않을 때도 있다고 한다. 그리고 같은 fragment를 add할 시 에러 발생 replace는 기존 fragment를 변경하는 것. add, remove를 같이 쓰는게 번거로워 보여 간편하게 replace 사용 fragment backstack 현재 실행하려는 트랙잭션의 상태를 기억한다. 스마트폰의 back key를 통해 프래그먼트를 이전 상태로 되돌릴 수 있다 만약 activity가 하나이고 fragment만 이동하는 구조라면 스마트폰 back key 설정을 하지 않으면 앱을 나가버린다 replace 다음에 addToBackStack 함수만 호출하면 된다 public ..