• 자유 게시판
  • 유머 게시판
  • 질문/답변 게시판
  • 정보/강좌 게시판
  • 소설 게시판
  • My Games Top 10

자유 게시판

Code Highlighter 테스트

2010.11.08 18:40

실피르넷 조회 수:5299

Code Highlighter 테스트

사용법 : 확장 컴포넌트 - Code Highlighter

  protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.redirect_getter);
        // Watch for button clicks.
        Button applyButton = (Button)findViewById(R.id.apply);
        applyButton.setOnClickListener(mApplyListener);
// The text being set.
        mText = (TextView)findViewById(R.id.text);
    }
        for (int i = 0; i < len; i++) {
            ResolveInfo info = list.get(i);
            CharSequence labelSeq = info.loadLabel(pm);
            String label = labelSeq != null
                    ? labelSeq.toString()
                    : info.activityInfo.name;
            
            if (prefix.length() == 0 || label.startsWith(prefix)) {
                
                String[] labelPath = label.split("/");
                String nextLabel = prefixPath == null ? labelPath[0] : labelPath[prefixPath.length];
                if ((prefixPath != null ? prefixPath.length : 0) == labelPath.length - 1) {
                    addItem(myData, nextLabel, activityIntent(
                            info.activityInfo.applicationInfo.packageName,
                            info.activityInfo.name));
                } else {
                    if (entries.get(nextLabel) == null) {
                        addItem(myData, nextLabel, browseIntent(prefix.equals("") ? nextLabel : prefix + "/" + nextLabel));
                        entries.put(nextLabel, true);
                    }
                }
            }
        }

 

테스트 끝.

번호 제목 글쓴이 날짜 조회 수
공지 추억의 실피르넷 게임 커뮤니티 오프닝 멘트 [9] 실피르넷 2010.10.19 465088
19567 초보들과 2:1 플레이. 2편 - 사냥 secret Nightmare 2004.02.03 0
19566 피와 바퀴[Blood and whell]연맹의 영웅도 입니다. secret 창蒼 2005.09.16 2
19565 홀리 유니온[Holy union]진영의 1차 영웅도입니다. secret 창蒼 2005.09.16 3
19564 구원의 서(5) secret Nightmare 2004.06.26 4
19563 Unknown-<나이트메어>-(1) [2] secret 2004.01.13 146
19562 Unknown(8) [1] secret 2004.01.09 150
19561 Unknown(10) [1] secret 2004.01.10 162
19560 Unknown(11) secret 2004.01.18 162
19559 Unknown(9) [1] secret 2004.01.10 165
19558 Unknown-<나이트메어>-(2) [2] secret 2004.01.17 165
19557 Unknown(7) [2] secret 2004.01.08 174
19556 Unknown(6) [4] secret 2004.01.08 175
19555 Unknown(12) secret 2004.01.19 175
19554 Unknown(13) [2] secret 2004.01.22 178
19553 Reincarnation of Nightmare(3) [1] secret 2004.01.27 185
19552 Reincarnation of Nightmare(1) [3] secret 2004.01.24 186
19551 Reincarnation of Nightmare(7) [1] secret 2004.02.03 190
19550 Reincarnation of Nightmare(8) [1] secret 2004.02.06 207
19549 Unknown... 웨폰 설명 secret 2004.01.07 208
19548 Reincarnation of Nightmare(5) [1] secret 2004.01.30 214