본문 바로가기

안드로이드

service

* 서비스 시작

Intent intent = new Intent(ConfigActivity.this, ScreenService.class);

startService(intent);


* 서비스 종료

Intent intent = new Intent(ConfigActivity.this, ScreenService.class);

stopService(intent);


서비스 동작중인지 확인

http://whdghks913.tistory.com/326

'안드로이드' 카테고리의 다른 글

안드로이드 화면 잠금, 투명 액티비티  (0) 2014.02.04
device 인식 못할때  (0) 2014.02.03
안드로이드 웹앱 개발시 스크롤 문제  (0) 2014.01.21
안드로이드 어플 등록  (0) 2014.01.21
receiver  (0) 2014.01.16