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

  • [25년12월 5일 ] react next.js 취약점 발견, 해킹 공격 피해 사례, 코인 채굴 악성 코드
  • jQuery-마우스 움직임을 이용, 좌표값 가져오기
  • wp-json 으로 json 호출시 썸네일과 커스텀 필드 받기
  • 로고디자인 - 블랙과 화이트 색상을 이용한 심플한 로고 디자인 모음
  • 관리자 페이지 중 위젯에서 드래그 & 드롭이 안되는 현상
  • Github, AWS EC2, Next.js CI/CD 자동화 + Slack 연동
  • AWS codebuild - Next.js >= v18.17.0 / Node.js 20.x / yarn set version 4.x 오류
  • node 버전 업 (nvm install) 이후, Command 'yarn' not found, but can be installed with 오류
  • JS-아이폰 사파리 앞으로,뒤로 버튼에 대한 캐시 삭제
  • JS - 모바일 접속 체크

comment

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