디시인사이드 갤러리

갤러리 이슈박스, 최근방문 갤러리

갤러리 본문 영역

구글 번역 jo갓네..

홍어(58.180) 2010.12.22 15:42:45
조회 73 추천 0 댓글 0

<h4 class="jd-details-title" style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; padding-top: 3px; padding-right: 95px; padding-bottom: 3px; padding-left: 3px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 1.1em; background-color: rgb(226, 226, 226); color: rgb(34, 34, 34); ">public abstract Context getApplicationContext ()</h4>
Since: API Level 1

Return the context of the single, global Application object of the current process. This generally should only be used if you need a Context whose lifecycle is separate from the current context, that is tied to the lifetime of the process rather than the current component.

Consider for example how this interacts with {@ #registerReceiver(BroadcastReceiver, IntentFilter)}:

<ul style="margin-top: 0px; margin-right: 2.5em; margin-bottom: 0px; margin-left: 2.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.3em; "><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.3em; ">

If used from an Activity context, the receiver is being registered within that activity. This means that you are expected to unregister before the activity is done being destroyed; in fact if you do not do so, the framework will clean up your leaked registration as it removes the activity and log an error. Thus, if you use the Activity context to register a receiver that is static (global to the process, not associated with an Activity instance) then that registration will be removed on you at whatever point the activity you used is destroyed.

</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.3em; ">

If used from the Context returned here, the receiver is being registered with the global state associated with your application. Thus it will never be unregistered for you. This is necessary if the receiver is associated with static data, not a particular component. However using the ApplicationContext elsewhere can easily lead to serious leaks if you forget to unregister, unbind, etc



<h3 id="headingtext" class="" style="color: rgb(0, 0, 0); margin-right: 0px; font-size: 13px; line-height: 16px; margin-top: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 4px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; ">영어 -> 한국어 번역</h3>
<object type="application/x-shockwave-flash" data="http://www.gstatic.com/translate/sound_player2.swf" width="18" height="18" id="tts_flash"></object>
공공 추상 컨텍스트 getApplicationContext ()

이후 : API를 레벨 1
돌아가기 현재 프로세스 단일 글로벌 Application 개체 컨텍스트를. 당신은 누구의 라이프 사이클은 현재 구성 요소보다는 프로세스 수명 묶여있는 현재 컨텍스트,와는 다른 컨텍스트해야하는 경우 이것은 일반적으로에만 사용해야합니다.
예를 들어 고려하는 방법 상호 작용 {@ # registerReceiver(BroadcastReceiver, IntentFilter)} :
활동 컨텍스트에서 사용하는 경우, 수신기  활동 이내에 등록되고 있습니다. 이것 당신 활동 파괴되고 완료되기 전에등록을 취소 것으로 예상되는 것을 의미합니다, 그것은 활동 제거 같은 사실 그렇게하지 않으면, 프레임 워크 유출 등록 청소하고 오류를 기록합니다. 따라서 (처리, 활동 인스턴스와 연결되어 있지 전역)  등록 뭐든 포인트 당신이 사용 활동 파괴에서당신을 삭제된다는 정적 수신기를 등록하는 작업 컨텍스트 사용하는 경우.
문맥에서 사용되는 현재 반환하면 수신기는 응용 프로그램과 관련된 전세계 국가에 등록되고 있습니다. 따라서 그것 당신을 위해 등록되지 않습니다. 수신기 정적 데이터가 아닌 특정 구성 요소 관련된 경우에 필요합니다. 당신 Unbind를 등의 등록을 취소하는 것을 잊지 경우에는 쉽게 심각한 누출을 초래할 수있는 다른 ApplicationContext 사용하여





이게 모야..
그냐저나 관계대명사절은 바로 앞의 명사를 수식하는게 맞는거지?
</li></ul>

추천 비추천

0

고정닉 0

0

댓글 영역

전체 댓글 0
등록순정렬 기준선택
본문 보기

하단 갤러리 리스트 영역

왼쪽 컨텐츠 영역

갤러리 리스트 영역

갤러리 리스트
번호 제목 글쓴이 작성일 조회 추천
설문 가족과 완벽하게 손절해야 할 것 같은 스타는? 운영자 24/06/24 - -
227765 뉴비 입갤!!! [1] 몽클몽클갤로그로 이동합니다. 10.12.29 86 0
227764 IT쪽에서 늦게공부시작해서 성공한 사람 누구있음? [24] (218.48) 10.12.29 393 0
227763 형들 제가 cmake 받았는데 어떻게함니까? [1] ㅇㅇ(119.207) 10.12.29 83 0
227762 알보칠 갈수록 묽어져 [6] 넉넉한터갤로그로 이동합니다. 10.12.29 148 0
227760 플겔이 가장 재미있는듯 [10] 헛개미\'ㅅ\'갤로그로 이동합니다. 10.12.29 202 0
227758 예전에 돌아다니던 짤중에 플겔러의 위엄이라는 짤이있엇는데.. [4] 헛개미\'ㅅ\'갤로그로 이동합니다. 10.12.29 156 0
227757 안녕하세요 갤러님들 novelextra쪽으로 부탁하나 드리겠습니다 [9] 반도의기적갤로그로 이동합니다. 10.12.29 479 0
227755 혹시 여기에 제로보드xe좀 사용하실줄아시는분있으신가요? [11] 헛개미\'ㅅ\'갤로그로 이동합니다. 10.12.29 107 0
227753 횽님들아 [3] 해일리갤로그로 이동합니다. 10.12.29 105 0
227752 잠시 유동 ㅁㅁ님과 토론을 해야할것같아요 비베코드50만 [13] 헛개미\'ㅅ\'갤로그로 이동합니다. 10.12.29 142 0
227751 곳 학교복학하게 되는데..짝학기임. [9] 헛개미\'ㅅ\'갤로그로 이동합니다. 10.12.29 175 0
227750 컴퓨터가 재미있다고요? [5] nRST갤로그로 이동합니다. 10.12.29 163 0
227748 미디어의 폐해네 대해 어제 어떤아가씨들니 얘기하더라 [4] 개쉛기갤로그로 이동합니다. 10.12.29 160 0
227747 ㅠㅠ그 용서받지 못한자 리뷰인데 너무 슬프다.. [3] 꿀레갤로그로 이동합니다. 10.12.29 159 0
227746 희망을 버리지 마세요. [1] nRST갤로그로 이동합니다. 10.12.29 83 0
227745 자바코드를 비베코드로 바꾸는게 어려운거임? 효읃ㄹ? [8] 헛개미\'ㅅ\'갤로그로 이동합니다. 10.12.29 152 0
227740 저동영상에 병장 하정우아님? [5] 꿀레갤로그로 이동합니다. 10.12.29 152 0
227738 프갤러들아 컴퓨터 책상 추천좀.. [3] ㅇㅂ(112.221) 10.12.29 110 0
227737 오빠야들 군대가면 다 저러나? [6] iljeomobolt갤로그로 이동합니다. 10.12.29 198 0
227734 c프로그래밍 언어 [6] avby(125.140) 10.12.29 150 0
227733 입갤! [5] 해일리갤로그로 이동합니다. 10.12.29 72 0
227730 지금 있는데보다 한단계 상위로 이사가고 싶은데 [2] 분당살람갤로그로 이동합니다. 10.12.29 73 0
227729 그러고보니 서양요리와 동양의 요리는... [4] 땡칠도사갤로그로 이동합니다. 10.12.29 151 0
227728 아 진짜 음악하고싶다. [2] 냠냠(121.130) 10.12.29 97 0
227727 이제 새해가 며칠 안남았군... [7] 땡칠도사갤로그로 이동합니다. 10.12.29 119 0
227726 인생이 심심해서 견딜수가 없다. [4] Finalizer갤로그로 이동합니다. 10.12.29 113 0
227725 요즘 알보칠에 물타서 파냐 [2] 갤러리갤로그로 이동합니다. 10.12.29 126 0
227724 프갤 여갤언니들은 개념이 꽉차 있는거 같애 [8] 일광면(211.205) 10.12.29 206 0
227723 나는 프로그래머가되서 프로글래머랑 결혼해야지. [2] 냠냠(121.130) 10.12.29 148 0
227722 총마다 속도가 다른건 당연히 알지 [11] 개연성(221.162) 10.12.29 206 0
227721 PVPGN 한번이라도 해봤던형 있으면봐주세요 ㅠㅠ [6] ㅇㅇㅇ(119.207) 10.12.29 146 0
227720 패킷스나이핑 으잌ㅋㅋㅋㅋㅋㅋㅋ [1] 풋사과1갤로그로 이동합니다. 10.12.29 348 0
227719 그러니까말야 ㅇㅇ 안보이는값 메모리로 [12] 개연성(221.162) 10.12.29 115 0
227718 ㅋ게임엔진 툴의 이 애매함이란 [7] 겜프머(121.131) 10.12.29 191 0
227717 밸류 바꾸면 탐지 [3] 개연성(221.162) 10.12.29 87 0
227715 ㅁㄴㅇㄹ횽 안보이는값 질문 ㅎ [2] 개연성(221.162) 10.12.29 71 0
227714 int 사이즈보다 큰것을 저장할때 [5] 몽클몽클갤로그로 이동합니다. 10.12.29 163 0
227713 지적 설계론 [5] 유리한갤로그로 이동합니다. 10.12.29 171 0
227711 밤새다보면 안경쓰는것을 피해갈수없다던데 사실인가여 [3] 풋사과1갤로그로 이동합니다. 10.12.29 114 0
227709 퇴개르 냠냠(121.130) 10.12.29 48 0
227708 정모하면 형도불러라 긴쟝하지말고 [3] 죶밥들(61.253) 10.12.29 102 0
227707 아슈ㅣ바 지금까지 JAVA할만했는데.. [3] 꿀레갤로그로 이동합니다. 10.12.29 136 0
227706 강제 부산 정모 공지 [6] 넉넉한터갤로그로 이동합니다. 10.12.29 129 0
227704 형들 궁금한게 있는데 [3] 알트(221.161) 10.12.29 66 0
227703 Great Code 랜달 하이드 이책 보신분있음? 글고 TCP/IP책 [3] 읭읭읭읭갤로그로 이동합니다. 10.12.29 128 0
227702 결국니들은 그럴싸한 문제풀이 게임하고 자랑 하는거내 응용하는 분야가 어딘 [14] 죶밥들(61.253) 10.12.29 135 0
227701 하드 2테라 짜리 사고싶다 너무 하드가 작아 시foot [3] 풋사과1갤로그로 이동합니다. 10.12.29 103 0
227699 이쯤에서 [10] 넉넉한터갤로그로 이동합니다. 10.12.29 144 0
227697 근데 프로그래머는 군대가면 그냥 복무하나 정보통신부가 아니여서 통신병못하 [13] 풋사과1갤로그로 이동합니다. 10.12.29 175 0
227696 어셈 뭐 강좌나 이런거 보면 ㅇ.ㅇ [16] 개연성(221.162) 10.12.29 198 0
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2