개발도구 썸네일형 리스트형 [안드로이드] webview 에서 특정 문자에 반응하기(새창으로) shouldOverrideUrlLoading shouldOverrideUrlLoading 메소드에 아래와 같이 추가하여 특정 URL 특정 값에 대한 반응을 따른 처리를 해줄 수 있다. 1) if(overrideUrl.startsWith("http:")) { Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(overrideUrl)); startActivity(i); return true; }else{ view.loadUrl(overrideUrl); } 2) if(("https://mobile.twitter.com").equals(url.substring(0, 26))){ //방법1 // Log.v("123", "456"); /* browser.clearCache(true); // 캐쉬제거 browser.cl.. 더보기 [PHP] 특정문자 replace if(strpos($newsArray[$i]["title"], '"') == true) { $newsArray[$i]["title"]=jsonSaveData(str_replace('"','\'',$row["title"])); } 더보기 [PHP] 글자 자르기 mb_strimwidth mb_substr mb_strimwidth("내용",0,43,"...","utf-8"); mb_substr("내용",0,43,"utf-8")."..."; 더보기 [안드로이드] Manifest SdkVersion uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" android:maxSdkVersion="8" /> 더보기 [PHP] xml 파서 _ 기프티쇼에 실제 사용 $sUrl = "http://xxxxxxxxxxx.co.kr/media/request.asp?MDCODE=xxxxxxxxx&MSG=$array_V_MMSCONTENTS[$i]&TITLE=$array_V_MMSTITLE[$i]&goods_id=$array_V_GOODSID[$i]&Tr_id=$Tradeid_temp&phone_no=$array_V_RECEIVE_PHONE[$i]&CALLBACK=$array_V_USERPHONE[$i]"; $NodeAry=array("code", "reason"); // 받고자 하는 노드의 TagName을 배열 지정 $sHttpContents = getHttpContents( $sUrl ); $objDom = simplexml_load_string( $sHttpContent.. 더보기 [PHP]Twitter 나 facebook 에 보낼때 주소를 짧게 암호화처럼 보내기 &category=&type=&msg=" alt="트위터" />]위처럼 twitter.php 파일에 값들을 보내게 되면 받은 파라메터 값으로 아래처럼 처리그럼 보내는 값은 http:mtz.kr/x32ad$ 이러하게 변환할수 있다. $type = $_GET[type];$msg = urldecode($_GET[msg]);$no = $_GET[no];if($type=="3"){ $sendUrl = $mobileUrl."/redirect.html?param=twitter|http://xxxx.co.kr/stview.php?no=".$no."%26web";}else if($type=="4"){ $sendUrl = $mobileUrl."/redirect.html?param=twitter|http://xxx.co... 더보기 [안드로이드] webview 에서 twitter 멈춤현상 에러 메세지는 이렇다. call to OpenGL ES API with no current context twitter 트위터 연동하여 사용하려는것은 https://mobile.twitter.com/#!/compose/tweet?status=%EA%B8%B0%EB%A1%9C%20%EC%84%A0%20%ED%95%9C%EA%B5%AD%EA%B2%BD%EC%A0%9C%2C%201%EC%9B%94%20%EB%AC%B4%EC%97%AD%EC%A0%81%EC%9E%90%20%ED%94%BC%ED%95%A0%EA%B9%8C%3F%20%23MToday%20http%3A%2F%2Fmtz.kr%2Fqxpe https://mobile.twitter.com/home?status=%EA%B8%B0%EB%A1%9C+%EC%84.. 더보기 [안드로이드] webview cache 지우기 browser.clearCache(true); // 캐쉬제거 browser.clearHistory(); browser.clearFormData(); 더보기 [안드로이드] webview 외장 브라우져 새창띄우기 html tag중에 더보기 [아이폰]Application Loader, CFBundleIconFile, Error communicating with iTunes Store 앱을 올릴시 analyze 를 하고 난 뒤 archive 을 하고 마면 Organizer로 이동을 하게 된다. Organizer에서는 validate 성공후 submit 을 해야 하는데 submit 에서 알수 없는 itunes connect error 가 나온게 된다. 어떠한 메세지가 없어서 당황스러웠지만, 아래와 같이 Application Loader을 이용하여 올리수 있게 되었다. Application Loader 을 사용하는 중에 아래 와 같이 CFBundleIconFile 이란 에러 메시지가 나왓다. http://devnote2.tistory.com/30 - 아이콘 CFBundleIconFile 과 Files 의 차이와 사용법 application loader 에서 zip 파일을 올릴시 아래와 같.. 더보기 이전 1 ··· 21 22 23 24 25 26 27 ··· 45 다음