본문 바로가기

전체 글

개발 모드시 광고가 노출되지 않을때, Failed to load ad: 3 MobileAds.initialize(context, context.getString(R.string.admob_id)) adRequest = AdRequest.Builder().build() mInterstitialAd = InterstitialAd(context).apply { adUnitId = context.getString(R.string.admob_interstitial_id) adListener = object : AdListener() { override fun onAdLoaded() { DLog.w("admob onAdLoaded !!") showAd() } override fun onAdClosed() { DLog.w("admob onAdClosed !!") } override fun .. 더보기
App is not indexable by Google Search AndroidManifest.xml 에서 아래와 같은 경고가 발생하는 것을 볼 수 있다. App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details. 이 경고를 해결하는 법은 아주 간단하다. 아래의 소스처럼 android.intent.action.VIEW 액션을 한 줄 추가해준다. 저 경고를 좀 더 살펴보면 아래와 같은 메세지를 볼 수 있다. App is not indexable by Google Search; consider adding at least one Activity with an AC.. 더보기
클래스, 객체, 인스턴스의 개념과 그 차이 클래스, 객체, 인스턴스의 개념과 그 차이를 설명할 수 있다. Goal 클래스, 객체, 인스턴스의 개념을 설명할 수 있다. 클래스, 객체, 인스턴스의 차이를 이해할 수 있다. 클래스, 객체, 인스턴스의 개념 클래스(Class) 란 개념 객체를 만들어 내기 위한 설계도 혹은 틀 연관되어 있는 변수와 메서드의 집합 객체(Object) 란 개념 소프트웨어 세계에 구현할 대상 클래스에 선언된 모양 그대로 생성된 실체 특징 ‘클래스의 인스턴스(instance)’ 라고도 부른다. 객체는 모든 인스턴스를 대표하는 포괄적인 의미를 갖는다. oop의 관점에서 클래스의 타입으로 선언되었을 때 ‘객체’라고 부른다. 인스턴스(Instance) 란 개념 설계도를 바탕으로 소프트웨어 세계에 구현된 구체적인 실체 즉, 객체를 소프.. 더보기
Get your apps ready for the 64-bit requirement https://developers-kr.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html Google Play의 64비트 요구 사항에 맞춰 앱을 준비하세요 게시자: Vlad Radu(Play 제품 관리자), Diana Wong(Android 제품 관리자) 64비트 CPU는 사용자... developers-kr.googleblog.com https://developer.android.com/distribute/best-practices/develop/64-bit 앱에서 64비트 기기를 지원하는지 확인 | Android Developers 2019년 8월 1일부터 Google Play에 게시되는 앱에서는 64비트 아키텍처를 지원해야 합니다. 64비트 C.. 더보기
Android GC From 5.0 Lollipop To answer one of your questions, the Dalvik VM indeed does use a tracing garbage collector, using a Mark and Sweep approach. According to The Dalvik Virtual Machine Architecture: The current strategy in the Dalvik garbage collector is to keep mark bits, or the bits that indicate that a particular object is “reachable” and therefore should not be garbage collected, separate from other heap memory.. 더보기
oracle sql query in between two date 1)두 날짜 사이의 달 구하기 SELECT ROWNUM RM ,TO_CHAR (ADD_MONTHS (TO_DATE ('200511', 'YYYYMM'), LEVEL - 1),'YYYYMM') mon FROM DUAL CONNECT BY ADD_MONTHS (TO_DATE ('200511', 'YYYYMM'), LEVEL-1) 더보기
왜 자바에서 static의 사용을 지양해야 하는가? 자바에서 데이터를 가공하거나 특정 메서드를 수행할 때 새로운 클래스를 만들어서 이를 인스턴스화 해서 쓸건지 아니면 static 으로 쓸건지 고민하게 될 때가 있다. 사실 후자는 객체지향적 관점에서 그리 좋은 선택은 아니다. Vamsi Emani라는 프로그래머가 stack overflow에 남긴 질문 Why are static variables considered evil? 과 가장 많은 지지를 받은 두개의 답변을 번역했다. Q by V. Emani I am a Java programmer who is new to the corporate world. Recently I’ve developed an application using Groovy and Java. All through the code I’ve.. 더보기
eclipse launch error - 이클립스 실행 오류 A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. NO Java virtual machine was found after searching the following location: C:\Program Files\Java\jre1.8.0_151\bin 위 오류에서 눈여겨 봐야할곳은 다름이 아닌 경로다. JDK 와 JRE 에러 모두 비슷하게 메세지가 뜨지만 경로에따라 방법이 살짝 다르다. jdk 와 jre 업데이트시 eclipse 에 업데이트된 경로가 반영되지 않아 생기는 오류로 보인다. eclipse 바로가기 아이콘 우클릭 > 속성 > 파일 위치 열기 를 누르면 해당.. 더보기