전체239 how to get activity's content view this.getWindow().getDecorView().findViewById(android.R.id.content)orthis.findViewById(android.R.id.content)orthis.findViewById(android.R.id.content).getRootView() 출처 : http://stackoverflow.com/questions/5273436/how-to-get-activitys-content-view 2016. 11. 8. android insufficient permissions error 9 개발시 record audio 권한을 manifest 에 선언해놓았는데insufficient error 가 발생했다. 해결방법은 2가지인데, 그 중 한가지는 runtime 에서 권한 요청을 한다.요청 코드 예제는 아래와 같다. // Here, thisActivity is the current activity if (ContextCompat.checkSelfPermission(thisActivity, Manifest.permission.READ_CONTACTS) != PackageManager.PERMISSION_GRANTED) { // Should we show an explanation? if (ActivityCompat.shouldShowRequestPermissionRationale(thisActi.. 2016. 11. 6. INSERT, UPDATE WITH MULTI SELECT QUERY INSERT INTO account_type_standard (account_type_Standard_id, tax_status_id, recipient_id) VALUES( (SELECT account_type_standard_seq.nextval FROM DUAL), (SELECT tax_status_id FROM tax_status WHERE tax_status_code = ?), (SELECT recipient_id FROM recipient WHERE recipient_code = ?) ) 출처 : http://stackoverflow.com/questions/131164/oracle-insert-via-select-from-multiple-tables-where-one-table-may-not.. 2016. 11. 4. MYBATIS 변수형이 모호할 때 발생하는 에러 처리 insert into (emp_no, emp_name) values ( #{empNo, jdbcType=INTEGER}, #{empName, jdbcType=VARCHAR}) 출처 : http://gubok.tistory.com/399 2016. 11. 4. 이전 1 ··· 50 51 52 53 54 55 56 ··· 60 다음