lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Android 2017‧11‧29

    화면 안꺼지게 설정

    여러가지 방법이 있긴 한데 난 해당 res > layout > 해당.xml에 <android.support.constraint.ConstraintLayout/> 여기에 android:keepScreenOn="true"로 속성을 넣어준다. 예제는 아래와 같다. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.insiknam.test.MainActivity" android:keepScreenOn="true"> 이보다 좋은 방법이나 여러가지 상황에 따라 선택해서 쓰면 된다. 그 여러가지 방법은 https://medium.com/marojuns-android/keeping-the-device-awake-b22b402a7f5e 이 곳에 아주 훌륭하게 정리해 놓으셨다.

popular

  • MSSQL - 난수 쿠폰 코드 생성, 중복 없이 테이블에 등록
  • 저장소 파일 불러올 때 권한 요청 설정
  • jQuery - a 태그의 href 값 변경하기
  • react native - TextInput 에 입력 또는 수정 disable 처리
  • wp-json 으로 json 호출시 썸네일과 커스텀 필드 받기
  • Photoshop - 폰트는 폴더를 따로 관리하는 것이 좋다.
  • 서브라임텍스트2 - 단축키 정리
  • findDOMNode) is not a function 오류 발생시
  • Sublime Text 2 - 작업중 브라우저로 미리보기 추가
  • SQL Server 에이전트(에이전트 XPs 사용 안 함) 작동 시키기

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....