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

    서비스에서 다른 Activity(.java) 안의 method 호출 (브로드 캐스트)

    java > 서비스로 작동하는 .java 파일을 열어서 아래 코드를 상단에 넣어 임포트 시켜준다. import android.content.Intent; import android.support.v4.content.LocalBroadcastManager; 그리고 public class MyService extends Service{ 이렇게 보이는 서비스 클래스 안에 아래 코드를 넣어준다. //브로드 캐스트 보내기 private void sendMessage() { Intent intent = new Intent("naminsik"); intent.putExtra("message", "전달하고자 하는 데이터"); LocalBroadcastManager.getInstance(this).sendBroadcast(intent); } 위에 보면 "naminsik" 은 통로 같은 […]

popular

  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 영문 텍스트의 경우 css로 대문자 혹은 소문자로 변환시켜 노출시키기
  • 워드프레스 대시보드에서 FTP접속 포트가 다를 경우
  • Incorrect integer value: '' for column 'xxx'
  • 타입스크립트와 함께 React.lazy 사용하기
  • aws pm2 서버 자동 실행 설정
  • react native - Warning: Functions are not valid as a React child. This may happen if you return a Component instead of from render. Or maybe you meant to call this function rather than return it. 오류
  • react, vue - Uncaught SyntaxError: Unexpected token
  • 키보드 키 코드
  • react native - TextInput 에 입력 또는 수정 disable 처리

comment

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