Android 썸네일형 리스트형 cordova android apk 설치시 에러 exposed beyond app through intent.getdata() 안드로이드에서 다운로드 받은 apk 설치파일을 실행시 exposed beyond app through intent.getdata() 라는 에러가 보안상 이유로 뜨는경우 플러그인 설치로 해결했음. 1. cordova plugin 설치 cordova plugin add cordova-plugin-file-opener2 2. 실행 cordova.plugins.fileOpener2.open( '경로/설치파일.apk', 'application/vnd.android.package-archive' ); 더보기 android Calendar Date 형변환 1. Calendar를 Date로 변환 Calendar cal = Calendar.getInstance(); Date date = new Date(cal.getTimeInMillis()); 2. Date를 Calendar로 변환 Date date = new Date(); Calendar cal = Calendar.getInstance(); cal.setTime(date); 더보기 android Context에서 findViewById 호출하는방법 TextView textView = (TextView) ((Activity)mContext).findViewById(R.id.aTextView); 더보기 이전 1 다음