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

  • jQuery - a 태그의 href 값 변경하기
  • 크롬 브라우저 http 웹사이트에서 위치(지오로케이션) 가져오기 중단
  • 게시판 플러그인 KBoard 설치법 및 사용법
  • Gulp - 플러그인 설치 및 사용하기
  • Github 계정 정지 당함 (account suspended)
  • github로 무료 웹호스팅, 미디어 호스팅 이용하기(for 디자이너)
  • css - 크롬 position fixed 버그 해결 방법
  • Photoshop - [폰트 캐쉬 삭제] 삭제한 폰트도 계속 리스트에 존재할 때
  • 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 Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)

comment

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