디시인사이드 갤러리

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

갤러리 본문 영역

구글 번역 jo갓네..

홍어(58.180) 2010.12.22 15:42:45
조회 72 추천 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 - -
228054 ie7,8이 호환 안되는 머저리같은 사이트들 때문에 ie6 을 아직.. [4] BTTTS!갤로그로 이동합니다. 10.12.30 107 0
228051 5시에 회사 조기퇴갤해야지 [1] 꿀레갤로그로 이동합니다. 10.12.30 54 0
228050 인터내쇼널한 인간이 되기위해 CNN을 켜놓고 공부를한다. [1] Finalizer갤로그로 이동합니다. 10.12.30 90 0
228048 나 오늘 제대함. [3] SODmaster갤로그로 이동합니다. 10.12.30 63 0
228047 3대 고시 다 패스한, 그 변호사 누구지?솔로몬의선택에도 나왔던... [5] 비밀(58.77) 10.12.30 236 0
228045 12월 한 달 동안 TV 안 봤음 [5] 분당살람갤로그로 이동합니다. 10.12.30 113 0
228044 시발새키들아 게이사진 올리지마라... 깝치지 말란 말이다... [1] 형들아(220.73) 10.12.30 175 0
228043 게이도 사람입니다 갤러리갤로그로 이동합니다. 10.12.30 82 0
228042 게이 vs 2차원 [2] 세브(211.117) 10.12.30 135 0
228041 야 그 흑인 강사 혹시 [5] 윤고구갤로그로 이동합니다. 10.12.30 232 0
228039 사장님 나가셨다... [1] 꿀레갤로그로 이동합니다. 10.12.30 71 0
228038 이거 합성 아님? [3] 분당살람갤로그로 이동합니다. 10.12.30 120 0
228037 PuTTY 고치는거 완전 막혔다 ㅡㅡ) [3] 땡칠도사갤로그로 이동합니다. 10.12.30 129 0
228036 이런 ㅅㅂ 내가 영어 공부좀 해볼라고 대전 1위 흑인 영어 강사라는 동영상 [10] 형들아(220.73) 10.12.30 473 0
228035 나으 읭여력 [3] prismatic갤로그로 이동합니다. 10.12.30 117 0
228034 똥다쌌는데 휴지가보이지않아 [10] 꿀레갤로그로 이동합니다. 10.12.30 126 0
228033 void main()의 의미는 뭔가요 [7] ~*(121.175) 10.12.30 196 0
228031 오늘은 그분이 태어난지 93년째 되는 날 [2] 세브(211.117) 10.12.30 112 0
228030 민류언니 소환 [3] elwlwlwk갤로그로 이동합니다. 10.12.30 121 0
228029 아직도 게이드립이나 치다니 불우한 종자들 [5] 땡칠도사갤로그로 이동합니다. 10.12.30 113 0
228028 금방화장실가는길에 겁나 예쁜여자봤다 [6] 꿀레갤로그로 이동합니다. 10.12.30 142 0
228027 횽들 학교,병원,공공기관 전산직이 최고임?? [5] ㄷㄷㄷ(210.113) 10.12.30 221 0
228026 게이 개새끼해봐 [1] 글쓰기만보(121.190) 10.12.30 82 0
228025 프갤붕괴.png [4] 라면맛포도(110.15) 10.12.30 173 0
228024 근데 프갤에 게이 꽤 많지 않아? [1] 글쓰기만보(121.190) 10.12.30 69 0
228023 디씨에는 더미다 최신도 언팩할수있는 능력자횽들이 득실득실함?? [1] sssssssssssssss갤로그로 이동합니다. 10.12.30 1590 0
228021 그러니까 요점이 뭐야 넉턱이 게이라는거야? 넉턱이랑 넉터랑 사귄다는거야? [13] 눅눅한턱(121.190) 10.12.30 112 0
228020 +0010000852 이거 무슨 번호냐능 [3] 분당살람갤로그로 이동합니다. 10.12.30 405 0
228019 질문(수정) [22] elwlwlwk갤로그로 이동합니다. 10.12.30 138 0
228016 사태가 커지고 있다. [18] 넉넉한터갤로그로 이동합니다. 10.12.30 267 0
228014 프갤횽들 GIT 머라고 읽어요? [6] 천회장(211.45) 10.12.30 141 0
228012 new[] 로 한번에 할당할수 있는 최대 크기가 얼마임?? [17] 햏햏했갤로그로 이동합니다. 10.12.30 220 0
228011 넉넉한턱님은 보세요. [10] nRST갤로그로 이동합니다. 10.12.30 134 0
228008 길거리를 걸어다니면 다커플인데.... [3] 꿀레갤로그로 이동합니다. 10.12.30 89 0
228006 아썅 삼단부스터좀 그만 틀어라 [3] prismatic갤로그로 이동합니다. 10.12.30 110 0
228005 본격_DC에서_염장질.txt [7] 참깨맛파스타(110.15) 10.12.30 169 0
228004 어휴 내일 일베는 넉터, 넉턱 두 분이서 접수하겠네요. [2] nRST갤로그로 이동합니다. 10.12.30 83 0
228003 우리 넉터때문에 난리가 났구나 오빠들? [27] 넉넉한턱갤로그로 이동합니다. 10.12.30 213 0
228002 들어와보니 C빠들만 우글거리는구나! [6] Finalizer갤로그로 이동합니다. 10.12.30 167 0
228000 그러고보니까 넉터 예전에도 비슷한 짓 하지 않았냐 [28] 열무향후추(110.15) 10.12.30 191 0
227999 눈이 옵니다. [10] 넉넉한터갤로그로 이동합니다. 10.12.30 192 0
227998 아 피곤해 nRST갤로그로 이동합니다. 10.12.30 39 0
227997 너님들한테 조언 좀 구하자능 [6] 분당살람갤로그로 이동합니다. 10.12.30 117 0
227996 솔직히 까놓고 말해서 링크드 리스트같은거 쓸일 거의 없음. [2] 훗쇼갤로그로 이동합니다. 10.12.30 177 0
227995 Sierpinski gasket [2] 한강구조견(118.37) 10.12.30 92 0
227994 나도 오빠야 짱멋있어 리플 달아주세요 [6] DMW갤로그로 이동합니다. 10.12.30 102 0
227993 눈이옵니다. [2] 넉넉한턱갤로그로 이동합니다. 10.12.30 63 0
227992 겨울방학 하니까 [3] 분당살람갤로그로 이동합니다. 10.12.30 74 0
227991 형들아 이럴경우 어떻게 해야됨? [2] 꿀레갤로그로 이동합니다. 10.12.30 68 0
227990 4년제 대학생인데 디지털 회로??라는 과목 [5] 대학생(124.5) 10.12.30 136 0
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2