본문 바로가기
반응형

전체 글411

Android 텍스트 입력 패드를 한글이 나오게 하자. 에디트텍스트(EditText)를 화면에 띄울 때 , 처음 키보드는 안드로이드 단말기에 설정된 언어 키보드가 나오게 됩니다. 필자의 경우 영문 키패드가 나오는데요. 어플 개발중에 입력폼을 받는 부분은 한글 키패드가 먼저 나와야 할 경우가 있었습니다. 위의 코드에서 privateImeOptions 부분이 언어 키패드를 선택하는 부분입니다. 기본키보드를 한글로 하려면 android:privateImeOptions="defaultInputmode=korean" 영문으로 하려면 android:privateImeOptions="defaultInputmode=english" 설정을 해줍니다. 2019. 4. 10.
thymeleaf 날짜 데이터 출력하기 thymeleaf 날짜 데이터를 출력하는 법을 찾아보았다.요새는 대부분 LocalDateTime 을 점차 사용하는 추세인거 같은데이럴 경우는 기존에 #date , #calendars 를 사용하는 대신 #temporals.format 을 사용해야 했다.1234Format manually참조링크 : https://www.baeldung.com/dates-in-thymeleaf 2019. 3. 23.
[Android]You need to use a Theme.AppCompat theme (or descendant) with this activity "You need to use a Theme.AppCompat theme (or descendant) with this activity" 메시지를 Activity 를 AppCompatActivity 로 변경시 발생하는 에러이다.한마디로 해당 액티비티의 테마를 맞춰 주어야 한다는 이야기 인데 AndroidManifest.xml 내의 테마선언을 android:theme="@style/Theme.AppCompat.Light" 로 변경하면 에러를 해결할 수 있다. 2019. 3. 17.
[android]cannot resolve symbol contextcompat 에러메시지 "cannot resolve symbol contextcompat" 가 발생하면"android.support.v4.content.ContextCompat" 의존 라이브러리가 설치 되지 않아서 나타나는 이슈이다. 해결책은 build.gradle 파일 내에 의존성을 추가해주면 된다.dependencies { // other stuff here compile 'com.android.support:support-v4:23.0.0' // update the 23.0.0 to latest version available } 2019. 3. 16.
Reason: Failed to determine a suitable driver class Sts 실행 시 아래와 같은 문제가 발생하였다. *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the .. 2019. 3. 8.
파일 첨부시 익스플로어 종료 익스플로어, 크롬, edge 할거 없이 레드마인에서 파일첨부를 하려는데 갑자기 종료가 되어 버렸다. 재부팅을 해도 바이러스 스캔을 해도 파일 첨부 시점에 종료가 되어 확인해 보니 아래 한컴 dll 파일과 충돌로 인한 문제였다. 해결하는 방법은 [작업 방법] 탐색기를 열고 C:\Program Files (x86)\Hnc 로 이동합니다. HncShellExt64.dll 파일을 찾아 HncShellExt64.dll.old 로 이름을 변경합니다. 이 후 증상을 확인합니다. 2019. 3. 5.
반응형