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

  • 저장소 파일 불러올 때 권한 요청 설정
  • JS - datepicker(jQueryUI,달력) 이용시 두개 날짜 범위 설정
  • 그림문자인 이모지(emoji) 웹에 사용하기
  • JSX - 마우스 오버/아웃 효과
  • 2012 웹어워드 컨퍼런스 선물
  • react native - 안드로이드 배포 실패 : Could not find com.facebook.react:react-native:0.71.0-rc.0
  • jQuery-마우스 움직임을 이용, 좌표값 가져오기
  • audio context 볼륨 조절하기
  • github unable to load repositories Retry
  • JS - textarea 폰트 사이즈 변경

comment

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