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

  • UX가 뛰어난 UI 디자인 샘플들
  • Flat Web & UI Design 관련 자료 모음 (계속 업데이트)
  • react, vue - Uncaught SyntaxError: Unexpected token
  • jQuery 플러그인 - 크로스 도메인 ajax로 가져오기
  • 앱 디자인 영감을 얻기 위한 아이폰 앱들의 화면 캡쳐
  • 저장소 파일 불러올 때 권한 요청 설정
  • JS - 쿠키 저장, 불러오기
  • [회고] nextjs(또는 SPA)에서 페이지 전환, 사용자 ID 값도 gtm, ga4 에 고스란히 실시간으로 담아주길...
  • this.props.history.push 이동시 파라미터 같이 보내기
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)

comment

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