모바일 오유 바로가기
http://m.todayhumor.co.kr
분류 게시판
베스트
  • 베스트오브베스트
  • 베스트
  • 오늘의베스트
  • 유머
  • 유머자료
  • 유머글
  • 이야기
  • 자유
  • 고민
  • 연애
  • 결혼생활
  • 좋은글
  • 자랑
  • 공포
  • 멘붕
  • 사이다
  • 군대
  • 밀리터리
  • 미스터리
  • 술한잔
  • 오늘있잖아요
  • 투표인증
  • 새해
  • 이슈
  • 시사
  • 시사아카이브
  • 사회면
  • 사건사고
  • 생활
  • 패션
  • 패션착샷
  • 아동패션착샷
  • 뷰티
  • 인테리어
  • DIY
  • 요리
  • 커피&차
  • 육아
  • 법률
  • 동물
  • 지식
  • 취업정보
  • 식물
  • 다이어트
  • 의료
  • 영어
  • 맛집
  • 추천사이트
  • 해외직구
  • 취미
  • 사진
  • 사진강좌
  • 카메라
  • 만화
  • 애니메이션
  • 포니
  • 자전거
  • 자동차
  • 여행
  • 바이크
  • 민물낚시
  • 바다낚시
  • 장난감
  • 그림판
  • 학술
  • 경제
  • 역사
  • 예술
  • 과학
  • 철학
  • 심리학
  • 방송연예
  • 연예
  • 음악
  • 음악찾기
  • 악기
  • 음향기기
  • 영화
  • 다큐멘터리
  • 국내드라마
  • 해외드라마
  • 예능
  • 팟케스트
  • 방송프로그램
  • 무한도전
  • 더지니어스
  • 개그콘서트
  • 런닝맨
  • 나가수
  • 디지털
  • 컴퓨터
  • 프로그래머
  • IT
  • 안티바이러스
  • 애플
  • 안드로이드
  • 스마트폰
  • 윈도우폰
  • 심비안
  • 스포츠
  • 스포츠
  • 축구
  • 야구
  • 농구
  • 바둑
  • 야구팀
  • 삼성
  • 두산
  • NC
  • 넥센
  • 한화
  • SK
  • 기아
  • 롯데
  • LG
  • KT
  • 메이저리그
  • 일본프로야구리그
  • 게임1
  • 플래시게임
  • 게임토론방
  • 엑스박스
  • 플레이스테이션
  • 닌텐도
  • 모바일게임
  • 게임2
  • 던전앤파이터
  • 마비노기
  • 마비노기영웅전
  • 하스스톤
  • 히어로즈오브더스톰
  • gta5
  • 디아블로
  • 디아블로2
  • 피파온라인2
  • 피파온라인3
  • 워크래프트
  • 월드오브워크래프트
  • 밀리언아서
  • 월드오브탱크
  • 블레이드앤소울
  • 검은사막
  • 스타크래프트
  • 스타크래프트2
  • 베틀필드3
  • 마인크래프트
  • 데이즈
  • 문명
  • 서든어택
  • 테라
  • 아이온
  • 심시티5
  • 프리스타일풋볼
  • 스페셜포스
  • 사이퍼즈
  • 도타2
  • 메이플스토리1
  • 메이플스토리2
  • 오버워치
  • 오버워치그룹모집
  • 포켓몬고
  • 파이널판타지14
  • 배틀그라운드
  • 기타
  • 종교
  • 단어장
  • 자료창고
  • 운영
  • 공지사항
  • 오유운영
  • 게시판신청
  • 보류
  • 임시게시판
  • 메르스
  • 세월호
  • 원전사고
  • 2016리오올림픽
  • 2018평창올림픽
  • 코로나19
  • 2020도쿄올림픽
  • 게시판찾기
  • 오유인페이지
    개인차단 상태
    세레니드님의
    개인페이지입니다
    가입 : 12-11-20
    방문 : 77회
    닉네임변경 이력
    회원차단
    회원차단해제
    게시물ID : programmer_14217
    작성자 : 세레니드
    추천 : 0
    조회수 : 685
    IP : 175.206.***.156
    댓글 : 2개
    등록시간 : 2015/11/02 02:17:16
    http://todayhumor.com/?programmer_14217 모바일
    [android] 스레드 사용에서 무반응입니다.
    옵션
    • 본인삭제금지
    <div>어디가 잘못됬는지를 알질 못하겠네요..</div> <div> </div> <div>어디서 문제가 생기는지 찾는 방법을 알려주시면 감사하겠습니다..</div> <div> </div> <div>문제점 : toggle 버튼 클릭시 무반응 ( 앱자체 실행은 잘됩니다.)</div> <div> </div> <div>프로그램 구조 : MainActivity -> WeatherService ->WeatherThread -> Handler -> WeatherAppWidgetProvider</div> <div> </div> <div style="text-align:left;"><img width="0" height="0" alt="캡처.PNG" src="http://thimg.todayhumor.co.kr/upfile/201511/1446398067rdGhrh9aXNMOc1WnOaDJr.png"></div><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,128);font-weight:bold;">public class </span>MainActivity <span style="color:rgb(0,0,128);font-weight:bold;">extends </span>AppCompatActivity {<br><br><span style="color:rgb(128,128,0);">@Override<br></span><span style="color:rgb(128,128,0);"> </span><span style="color:rgb(0,0,128);font-weight:bold;">protected void </span>onCreate(Bundle savedInstanceState) {<br><span style="color:rgb(0,0,128);font-weight:bold;">super</span>.onCreate(savedInstanceState);<br> setContentView(R.layout.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">activity_main</span>);<br> }<br><br><span style="color:rgb(0,0,128);font-weight:bold;">public void </span>onClick (View v){<br> ToggleButton tb = (ToggleButton)v;<br><span style="color:rgb(0,0,128);font-weight:bold;">if</span>(tb.isChecked() == <span style="color:rgb(0,0,128);font-weight:bold;">false</span>){<br> Intent intent = <span style="color:rgb(0,0,128);font-weight:bold;">new </span>Intent( <span style="color:rgb(0,0,128);font-weight:bold;">this</span>, WeatherService.<span style="color:rgb(0,0,128);font-weight:bold;">class</span>);<br> stopService(intent);<br> }<br><span style="color:rgb(0,0,128);font-weight:bold;">else</span>{<br> Intent intent = <span style="color:rgb(0,0,128);font-weight:bold;">new </span>Intent (<span style="color:rgb(0,0,128);font-weight:bold;">this</span>, WeatherService.<span style="color:rgb(0,0,128);font-weight:bold;">class</span>);<br> startService(intent);<br> }<br> }</pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><br><span style="color:rgb(0,0,128);font-weight:bold;">public class </span>WeatherService <span style="color:rgb(0,0,128);font-weight:bold;">extends </span>Service {<br><span style="color:rgb(0,0,128);font-weight:bold;">private </span>Thread <span style="color:rgb(102,14,122);font-weight:bold;">thread</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">private </span>Handler <span style="color:rgb(102,14,122);font-weight:bold;">handler</span>;<br><br><span style="color:rgb(0,0,128);font-weight:bold;">public void </span>onCreate() {<br><span style="color:rgb(0,0,128);font-weight:bold;">super</span>.onCreate();<br><span style="color:rgb(102,14,122);font-weight:bold;">handler </span>= <span style="color:rgb(0,0,128);font-weight:bold;">new </span>WeatherForecastHandler(<span style="color:rgb(0,0,128);font-weight:bold;">this</span>);<br><span style="color:rgb(102,14,122);font-weight:bold;">thread </span>= <span style="color:rgb(0,0,128);font-weight:bold;">new </span>WeatherThread(<span style="color:rgb(102,14,122);font-weight:bold;">handler</span>);<br> }<br><br><span style="color:rgb(0,0,128);font-weight:bold;">public int </span>onStartCommand(Intent intent, <span style="color:rgb(0,0,128);font-weight:bold;">int </span>flags, <span style="color:rgb(0,0,128);font-weight:bold;">int </span>startId) {<br><span style="color:rgb(0,0,128);font-weight:bold;">if </span>(<span style="color:rgb(102,14,122);font-weight:bold;">thread</span>.isAlive() == <span style="color:rgb(0,0,128);font-weight:bold;">false</span>) {<br><span style="color:rgb(102,14,122);font-weight:bold;">thread</span>.start();<br> }<br><span style="color:rgb(0,0,128);font-weight:bold;">return super</span>.onStartCommand(intent, flags, startId);<br> }<br><span style="color:rgb(0,0,128);font-weight:bold;">public void </span>onDestroy() {<br><span style="color:rgb(0,0,128);font-weight:bold;">super</span>.onDestroy();<br><span style="color:rgb(102,14,122);font-weight:bold;">thread</span>.interrupt();<br> }<br><br><span style="color:rgb(128,128,0);">@Override<br></span><span style="color:rgb(128,128,0);"> </span><span style="color:rgb(0,0,128);font-weight:bold;">public </span>IBinder onBind(Intent intent) {<br><span style="color:rgb(0,0,128);font-weight:bold;">return null</span>;<br> }<br>}</pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,128);font-weight:bold;">public class </span>WeatherThread <span style="color:rgb(0,0,128);font-weight:bold;">extends </span>Thread{<br><span style="color:rgb(0,0,128);font-weight:bold;">private </span>Handler <span style="color:rgb(102,14,122);font-weight:bold;">handler</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">public </span>WeatherThread(Handler h) { <span style="color:rgb(102,14,122);font-weight:bold;">handler </span>=h;}<br><br><span style="color:rgb(0,0,128);font-weight:bold;">public void </span>run() {<br><span style="color:rgb(0,0,128);font-weight:bold;">try </span>{<br><span style="color:rgb(0,0,128);font-weight:bold;">while </span>(<span style="color:rgb(0,0,128);font-weight:bold;">true</span>) {<br> URL url = <span style="color:rgb(0,0,128);font-weight:bold;">new </span>URL(<br><span style="color:rgb(0,128,0);font-weight:bold;">"<a target="_blank" href="http://www.kma.go.kr/XML/weather/sfc_web_map.xml" target="_blank">http://www.kma.go.kr/XML/weather/sfc_web_map.xml</a>"</span>);<br><br> XmlPullParserFactory parserFactory = XmlPullParserFactory.<span style="font-style:italic;">newInstance</span>();<br> XmlPullParser parser = parserFactory.newPullParser();<br> parser.setInput(url.openStream(), <span style="color:rgb(0,128,0);font-weight:bold;">"utf-8"</span>);<br><span style="color:rgb(0,0,128);font-weight:bold;">int </span>parserEvent = parser.getEventType();<br> String desc = <span style="color:rgb(0,128,0);font-weight:bold;">""</span>;<br> String ta = <span style="color:rgb(0,128,0);font-weight:bold;">""</span>;<br> String region = <span style="color:rgb(0,128,0);font-weight:bold;">""</span>;<br> String name = <span style="color:rgb(0,128,0);font-weight:bold;">""</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">while </span>(parserEvent != XmlPullParser.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">END_DOCUMENT</span>) {<br><span style="color:rgb(0,0,128);font-weight:bold;">switch </span>(parserEvent) {<br><span style="color:rgb(0,0,128);font-weight:bold;">case </span>XmlPullParser.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">START_DOCUMENT</span>:<br><span style="color:rgb(0,0,128);font-weight:bold;">break</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">case </span>XmlPullParser.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">START_TAG</span>:<br> name = parser.getName();<br><span style="color:rgb(0,0,128);font-weight:bold;">if </span>(name != <span style="color:rgb(0,0,128);font-weight:bold;">null </span>&& name.equals(<span style="color:rgb(0,128,0);font-weight:bold;">"local"</span>)) {<br> desc = parser.getAttributeValue(<span style="color:rgb(0,0,128);font-weight:bold;">null</span>, <span style="color:rgb(0,128,0);font-weight:bold;">"desc"</span>);<br> ta = parser.getAttributeValue(<span style="color:rgb(0,0,128);font-weight:bold;">null</span>, <span style="color:rgb(0,128,0);font-weight:bold;">"ta"</span>);<br> }<br><span style="color:rgb(0,0,128);font-weight:bold;">break</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">case </span>XmlPullParser.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">TEXT</span>:<br><span style="color:rgb(0,0,128);font-weight:bold;">if </span>(name != <span style="color:rgb(0,0,128);font-weight:bold;">null </span>&& name.equals(<span style="color:rgb(0,128,0);font-weight:bold;">"local"</span>)) {<br> region = parser.getText();<br> }<br><span style="color:rgb(0,0,128);font-weight:bold;">break</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">case </span>XmlPullParser.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">END_TAG</span>:<br><span style="color:rgb(0,0,128);font-weight:bold;">if </span>(name != <span style="color:rgb(0,0,128);font-weight:bold;">null </span>&& name.equals(<span style="color:rgb(0,128,0);font-weight:bold;">"local"</span>)) {<br> Message msg = <span style="color:rgb(102,14,122);font-weight:bold;">handler</span>.obtainMessage();<br> WeatherForecast wf = <span style="color:rgb(0,0,128);font-weight:bold;">new </span>WeatherForecast();<br> wf.<span style="color:rgb(102,14,122);font-weight:bold;">desc </span>= desc;<br> wf.<span style="color:rgb(102,14,122);font-weight:bold;">region </span>= region;<br> wf.<span style="color:rgb(102,14,122);font-weight:bold;">ta </span>= ta;<br> msg.<span style="color:rgb(102,14,122);font-weight:bold;">obj </span>= wf;<br><span style="color:rgb(102,14,122);font-weight:bold;">handler</span>.sendMessage(msg);<br> }<br> name = <span style="color:rgb(0,128,0);font-weight:bold;">""</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">break</span>;<br> }<br> Thread.<span style="font-style:italic;">sleep</span>(<span style="color:rgb(0,0,255);">1000</span>);<br> parserEvent = parser.next();<br> }<br> }<br> } <span style="color:rgb(0,0,128);font-weight:bold;">catch </span>(InterruptedException e) {<br> } <span style="color:rgb(0,0,128);font-weight:bold;">catch </span>(Exception e) {<br> e.printStackTrace();<br> }<br> }<br>}</pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><br> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,128);font-weight:bold;">public class </span>WeatherForecastHandler <span style="color:rgb(0,0,128);font-weight:bold;">extends </span>Handler{<br><span style="color:rgb(0,0,128);font-weight:bold;">private </span>Context <span style="color:rgb(102,14,122);font-weight:bold;">context</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">public </span>WeatherForecastHandler (Context ctx){<br><span style="color:rgb(102,14,122);font-weight:bold;">context </span>= ctx;<br> }<br><span style="color:rgb(0,0,128);font-weight:bold;">public void </span>handleMessage(Message msg){<br><span style="color:rgb(0,0,128);font-weight:bold;">super</span>.handleMessage(msg);<br> WeatherForecast wf = (WeatherForecast)msg.<span style="color:rgb(102,14,122);font-weight:bold;">obj</span>;<br><br> Intent intent = <span style="color:rgb(0,0,128);font-weight:bold;">new </span>Intent();<br> intent.putExtra(<span style="color:rgb(0,128,0);font-weight:bold;">"region"</span>, wf.<span style="color:rgb(102,14,122);font-weight:bold;">region</span>);<br> intent.putExtra(<span style="color:rgb(0,128,0);font-weight:bold;">"desc"</span>, wf.<span style="color:rgb(102,14,122);font-weight:bold;">desc</span>);<br> intent.putExtra(<span style="color:rgb(0,128,0);font-weight:bold;">"ta"</span>, wf.<span style="color:rgb(102,14,122);font-weight:bold;">ta</span>);<br> intent.setAction(<span style="color:rgb(0,128,0);font-weight:bold;">"android.intent.action.WEATHER_FORECAST_RECEIVED"</span>);<br><span style="color:rgb(102,14,122);font-weight:bold;">context</span>.sendBroadcast(intent);<br> }<br>}<br></pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,128);font-weight:bold;">public class </span>WeatherAppWidgetProvider <span style="color:rgb(0,0,128);font-weight:bold;">extends </span>AppWidgetProvider{<br><span style="color:rgb(0,0,128);font-weight:bold;">public void </span>onReceive (Context context, Intent intent){<br> String region = intent.getStringExtra(<span style="color:rgb(0,128,0);font-weight:bold;">"region"</span>);<br> String desc = intent.getStringExtra(<span style="color:rgb(0,128,0);font-weight:bold;">"desc"</span>);<br> String ta = intent.getStringExtra(<span style="color:rgb(0,128,0);font-weight:bold;">"ta"</span>);<br><br><span style="color:rgb(0,0,128);font-weight:bold;">if</span>(region == <span style="color:rgb(0,0,128);font-weight:bold;">null</span>) region = <span style="color:rgb(0,128,0);font-weight:bold;">"unknown"</span>;<br><br> AppWidgetManager appWidgetManager = AppWidgetManager.<span style="font-style:italic;">getInstance</span>(context);<br> RemoteViews remote = <span style="color:rgb(0,0,128);font-weight:bold;">new </span>RemoteViews(context.getPackageName(),R.layout.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">weatherview</span>);<br> remote.setTextViewText(R.id.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">textView1</span>, region);<br> remote.setTextViewText(R.id.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">textView2</span>, desc);<br> remote.setTextViewText(R.id.<span style="color:rgb(102,14,122);font-style:italic;font-weight:bold;">textView3</span>, ta);<br><br> appWidgetManager.updateAppWidget(<br><span style="color:rgb(0,0,128);font-weight:bold;">new </span>ComponentName(<span style="color:rgb(0,128,0);font-weight:bold;">"com.example.weatherappwidgettest"</span>,<br><span style="color:rgb(0,128,0);font-weight:bold;">"com.example.weatherappwidgettest.WeatherAppWidgetProvider"</span>),<br> remote);<br><span style="color:rgb(0,0,128);font-weight:bold;">super</span>.onReceive(context, intent);<br> }<br>}<br></pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);">--------------------------------------------------------------------------------------------------</pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"></pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,128);font-weight:bold;">public class </span>WeatherForecast {<br><span style="color:rgb(0,0,128);font-weight:bold;">public </span>String <span style="color:rgb(102,14,122);font-weight:bold;">region</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">public </span>String <span style="color:rgb(102,14,122);font-weight:bold;">desc</span>;<br><span style="color:rgb(0,0,128);font-weight:bold;">public </span>String <span style="color:rgb(102,14,122);font-weight:bold;">ta</span>;<br>}<br></pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"> </pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"></pre><pre style="color:rgb(0,0,0);font-family:'굴림체';font-size:9pt;background-color:rgb(255,255,255);"><span style="font-style:italic;"><?</span><span style="color:rgb(0,0,255);font-weight:bold;">xml version=</span><span style="color:rgb(0,128,0);font-weight:bold;">"1.0" </span><span style="color:rgb(0,0,255);font-weight:bold;">encoding=</span><span style="color:rgb(0,128,0);font-weight:bold;">"utf-8"</span><span style="font-style:italic;">?><br></span><<span style="color:rgb(0,0,128);font-weight:bold;">manifest </span><span style="color:rgb(0,0,255);font-weight:bold;">xmlns:</span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">=</span><span style="color:rgb(0,128,0);font-weight:bold;">"<a target="_blank" href="http://schemas.android.com/apk/res/android" target="_blank">http://schemas.android.com/apk/res/android</a>"<br></span><span style="color:rgb(0,128,0);font-weight:bold;"> </span><span style="color:rgb(0,0,255);font-weight:bold;">package=</span><span style="color:rgb(0,128,0);font-weight:bold;">"com.example.lkb.weatherappwidgettest" </span>><br><<span style="color:rgb(0,0,128);font-weight:bold;">uses-permission </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=</span><span style="color:rgb(0,128,0);font-weight:bold;">"android.permission.INTERNET"</span>/><br><br> <<span style="color:rgb(0,0,128);font-weight:bold;">PreferenceScreen </span><span style="color:rgb(0,0,255);font-weight:bold;">xmlns:</span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">=</span><span style="color:rgb(0,128,0);font-weight:bold;">"<a target="_blank" href="http://schemas.android.com/apk/res/android" target="_blank">http://schemas.android.com/apk/res/android</a>"</span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">receiver </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name = </span><span style="color:rgb(0,128,0);font-weight:bold;">"WeatherAppWidgetProvider"</span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">intent-filter</span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">action </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=<br></span><span style="color:rgb(0,0,255);font-weight:bold;"> </span><span style="color:rgb(0,128,0);font-weight:bold;">"android.appwidget.action.APPWIDGET_UPDATE"</span>/><br> <<span style="color:rgb(0,0,128);font-weight:bold;">action </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=<br></span><span style="color:rgb(0,0,255);font-weight:bold;"> </span><span style="color:rgb(0,128,0);font-weight:bold;">"android.intent.action.WEATHER_FORECAST_RECEIVED"</span>/><br> </<span style="color:rgb(0,0,128);font-weight:bold;">intent-filter</span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">meta-data </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=</span><span style="color:rgb(0,128,0);font-weight:bold;">"android.appwidget.provider"<br></span><span style="color:rgb(0,128,0);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:resource=</span><span style="color:rgb(0,128,0);font-weight:bold;">"@xml/weathermeta"</span>/><br> </<span style="color:rgb(0,0,128);font-weight:bold;">receiver</span>><br> </<span style="color:rgb(0,0,128);font-weight:bold;">PreferenceScreen</span>><br><br> <<span style="color:rgb(0,0,128);font-weight:bold;">application<br></span><span style="color:rgb(0,0,128);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:allowBackup=</span><span style="color:rgb(0,128,0);font-weight:bold;">"true"<br></span><span style="color:rgb(0,128,0);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:icon=</span><span style="color:rgb(0,128,0);font-weight:bold;">"@mipmap/ic_launcher"<br></span><span style="color:rgb(0,128,0);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:label=</span><span style="color:rgb(0,128,0);font-weight:bold;">"@string/app_name"<br></span><span style="color:rgb(0,128,0);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:theme=</span><span style="color:rgb(0,128,0);font-weight:bold;">"@style/AppTheme" </span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">activity<br></span><span style="color:rgb(0,0,128);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=</span><span style="color:rgb(0,128,0);font-weight:bold;">".MainActivity"<br></span><span style="color:rgb(0,128,0);font-weight:bold;"> </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:label=</span><span style="color:rgb(0,128,0);font-weight:bold;">"@string/app_name" </span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">intent-filter</span>><br> <<span style="color:rgb(0,0,128);font-weight:bold;">action </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=</span><span style="color:rgb(0,128,0);font-weight:bold;">"android.intent.action.MAIN" </span>/><br><br> <<span style="color:rgb(0,0,128);font-weight:bold;">category </span><span style="color:rgb(102,14,122);font-weight:bold;">android</span><span style="color:rgb(0,0,255);font-weight:bold;">:name=</span><span style="color:rgb(0,128,0);font-weight:bold;">"android.intent.category.LAUNCHER" </span>/><br> </<span style="color:rgb(0,0,128);font-weight:bold;">intent-filter</span>><br> </<span style="color:rgb(0,0,128);font-weight:bold;">activity</span>><br> </<span style="color:rgb(0,0,128);font-weight:bold;">application</span>><br><br></<span style="color:rgb(0,0,128);font-weight:bold;">manifest</span>></pre><br>

    이 게시물을 추천한 분들의 목록입니다.
    푸르딩딩:추천수 3이상 댓글은 배경색이 바뀝니다.
    (단,비공감수가 추천수의 1/3 초과시 해당없음)

    죄송합니다. 댓글 작성은 회원만 가능합니다.

    번호 제 목 이름 날짜 조회 추천
    12
    저의 꿈을 차렸습니다. [32] 세레니드 23/06/09 12:09 465 18
    11
    요리할때 맨손으로 [3] 세레니드 17/11/21 17:01 152 0
    10
    게임 이름좀 알려주시겠어요 ~? [5] 본인삭제금지 세레니드 17/10/22 11:55 257 3
    9
    쿼리문에서 UPDATE 사용시 값변경 질문이요 !! 짧아요 글 [17] 본인삭제금지 세레니드 16/01/02 21:09 27 0
    8
    하.......... 이걸 몇시간동안 헤매다니 [2] 세레니드 16/01/01 05:11 47 1
    7
    안드로이드 궁금한게 있습니다. [1] 본인삭제금지 세레니드 15/12/10 15:03 20 0
    6
    [안드로이드] OnTouch 작동이 왜 안할까요..? [1] 본인삭제금지 세레니드 15/12/07 05:45 27 0
    5
    [안드로이드] 프레임레이아웃 온클릭?? [4] 본인삭제금지 세레니드 15/12/04 15:49 28 0
    4
    [안드로이드] 질문있습니다. 객체관련 [2] 본인삭제금지 세레니드 15/11/06 18:13 19 0
    [android] 스레드 사용에서 무반응입니다. [2] 본인삭제금지 세레니드 15/11/02 02:17 28 0
    2
    cpp 아주 기초적인 질문입니다 ㅜㅜ [1] 본인삭제금지 세레니드 15/10/18 20:14 35 0
    [1]
    단축키 운영진에게 바란다(삭제요청/제안) 운영게 게시판신청 자료창고 보류 개인정보취급방침 청소년보호정책 모바일홈