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…)
  • jQuery - a 태그의 href 값 변경하기
  • 크롬 브라우저 http 웹사이트에서 위치(지오로케이션) 가져오기 중단
  • ul과 ol에 있는 li태그에서 들여쓰기 및 앞표시 없애기
  • 페이스북 공유시 나오는 정보 수정 방법
  • 게시판 플러그인 KBoard 설치법 및 사용법
  • CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
  • Github 계정 정지 당함 (account suspended)
  • 플래시 플레이어 버전 확인 및 디버거 다운로드
  • css - 크롬 position fixed 버그 해결 방법

comment

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