본문 바로가기 메뉴 바로가기

코모스튜디오

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

코모스튜디오

검색하기 폼
  • 분류 전체보기 (273)
    • 코모 어플리케이션즈 (68)
      • 말하는 알람 시계 (42)
      • 말하는 일상 카운터 (3)
      • 말하는 타이머 스톱워치 (1)
      • 말하는 시계 (13)
      • SpeakingAlarmClock (0)
      • 번갯불 (2)
      • 빠른 손전등 (2)
      • 일정 브리핑 알람 (2)
    • [안드로이드 공부] (181)
      • 코틀린 (7)
      • 선플라워 디비보기 (6)
      • 안드로이드 스튜디오 (29)
      • 프리퍼런스 (11)
      • 안드로이드 공부 (30)
      • 프래그먼트 (7)
      • 동기화 (12)
      • 액티비티 (8)
      • UI (47)
      • 미디어 (2)
      • 알림 (8)
      • 서비스 (3)
      • 애드 (9)
      • 테스트 (1)
    • [애플] (0)
    • [IT 뉴스] (18)
      • 모바일 (10)
      • 과학 (5)
      • 인터넷 (3)
    • [엔터테이먼트] (1)
      • 영화 (1)
    • 기타 (2)
  • 방명록

[안드로이드 공부] (181)
안드로이드 동적 컬러리스트 적용 ColorStateList setTextColor

color/a.xml ColorStateList colorStateList = null; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M) { colorStateList = context.getResources().getColorStateList(R.color.a, context.getTheme()); } else { colorStateList = context.getResources().getColorStateList(R.color.a); } textView.setTextColor(colorStateList) 요렇게 하면, 간단하게 컬러 리스트를 동적으로(programmatically) 적용 할 수 있다.

[안드로이드 공부]/UI 2018. 12. 9. 10:50
안드로이드 BroadcastReceiver ANR

브로드 캐스트 리시버 에서는 10 초 이내에 모든 작업을 완료 해야함. 그렇지 않으면 시스템이 죽여 버리거나, ANR을 발생 시킨다. 1. onReceive 에서 최대한 간결하게 코드를 처리 한다.1.1 다른 서비스로 리턴 시킨다.1.2 또는 goAsync()를 사용 하여 타임아웃을 연장 한다. 아래는 구글의 설명이다. /** * This can be called by an application in {@link #onReceive} to allow * it to keep the broadcast active after returning from that function. * This does not change the expectation of being relatively * responsive to..

[안드로이드 공부]/UI 2018. 12. 7. 15:25
Fatal Exception: android.content.ActivityNotFoundException

Fatal Exception: android.content.ActivityNotFoundException No Activity found to handle Intentif(intent.resolveActivity(getPackageManager()) != null) startActivityForResult();

[안드로이드 공부]/UI 2018. 12. 6. 15:10
Fatal Exception: java.lang.IllegalStateException Fragment d{} not attached to Activity

Fatal Exception: java.lang.IllegalStateExceptionFragment d{} not attached to Activity 항상 context를 가져온놈으로 쓰고, attached 여부도 확인 할 것.getString --> context.getString()

[안드로이드 공부]/UI 2018. 12. 3. 14:03
Failed to resolve: play-services-basement

Failed to resolve: play-services-basementgoogle()을 jcenter() 위로 올리면 된다.allprojects { repositories { google() jcenter()

[안드로이드 공부]/안드로이드 스튜디오 2018. 10. 26. 16:06
Push rejected: Push to origin/master was rejected

처음 저장소 생성 후 push 할 때 android studio bitbucket push rejected Push rejected: Push to origin/master was rejected Updates were rejected because the tip of your current branch is behind 발생하면 1. VCS2. GIT3. Branches Rebase Current onto Selected 해주면 됨. 아래는 코모의 새로운 앱이에요(19/07/01출시) 일상 카운터 - 기록, 계수기, 일기 구글플레이에서 무료 다운로드https://play.google.com/store/apps/details?id=com.comostudio.counter

[안드로이드 공부]/안드로이드 스튜디오 2018. 10. 4. 11:09
org.apache.http.impl.auth.NegotiateScheme: can't find referenced class org.ietf.jgss.GSSName

proguard-ruls 파일에-keep class org.apache.http.**{ *; }-dontwarn org.apache.http.**

[안드로이드 공부]/UI 2018. 10. 1. 12:27
import org.apache.http.NameValuePair 에러

gradle 에서 useLibrary 'org.apache.http.legacy' dependencies에 compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' 두 줄 넣어주면 됨.

[안드로이드 공부]/UI 2018. 10. 1. 12:00
inputchannel is not initialized

Fatal Exception: java.lang.RuntimeExceptioninputchannel is not initialized 알려진 버그로...아직 해결방법이 없는 듯 하다.... https://issuetracker.google.com/issues/36948946

[안드로이드 공부]/UI 2018. 9. 27. 09:29
StaleDataException: Attempted to access a cursor after it has been closed.

Fatal Exception: android.database.StaleDataException: Attempted to access a cursor after it has been closed. cursor.close() RingtoneManager로 얻은 Cursor 은 Close 하지 않아도 알아서 하니, 손대면 에러 발생. 그냥 패스 하면 된다.

[안드로이드 공부]/미디어 2018. 9. 24. 11:04
이전 1 2 3 4 5 6 7 ··· 19 다음
이전 다음
공지사항
최근에 올라온 글
  • Caused by: android.view.⋯
  • viewpager 사용 시 하단⋯
  • fragment container view⋯
  • Resources$NotFoundExcept⋯
최근에 달린 댓글
  • 안드로이드 10 인데 위 코드⋯
  • 제보 : https://horae.tistor⋯
  • 잘 안쓰는데 감사 인사 re:⋯
  • 안녕하세요. 좋은 말씀 감사⋯
Total
410,785
Today
128
Yesterday
252

Blog is powered by Tistory / Designed by Tistory