목록전체 글 (1755)
오늘도 공부
출처 : http://web3.kr/40034737395 주석이 없다.. 나만 쓸려고 만들어 놓은거라서... 관련되서 공부하고자 하는 분들이 있으면 참고하시라... #DBConn.Class.php 사용방법 Oracle DB 사용시 #oracle.php MySQL DB 사용시 #mysql.php 눈치 빠른 분들은 벌써 눈치 쳈겠지만... $uri 값만 바까줌으로써.. MySQL 이든 Oracle 이든 모두 사용가능 하다. Sybase 및 기타 다른 DB도 해보고 싶지만 설치 되어 있는 환경이 없어서 테스트 불가.
출처 : http://sexy.pe.kr/tc/30 페이징이란? 많은 수의 자료(레코드)를 한꺼번에 가져와 활용하기에는 비효율적이기에 일정 크기로 나누어 페이지 번호를 부여하는 방법을 방법을 말한다. 즉, 원하는 페이지번호에 해당하는 영역의 자료만 가져와 활용하기 위함이다. 페이징을 하기전에 몇가지 사전 설정을 해야한다. 한페이지에 몇개의 레코드(자료)를 출력할 것인가? 한화면에 페이지번호를 몇개를 출력할 것인가? 현재 보고자 하는 페이지가 몇번째 페이지인가? 그리고 아래와 같은 항목이 필요하다. 가져올 시작 레코드 번호 가져올 마지막 레코드 번호 전체 페이지 갯수 페이지번호 출력 시작 번호 페이지번호 출력 마지막 번호 전체 레코드 갯수 전체 블록 갯수 현재 속해있는 블록 번호 등등을 계산해야 한다. 위..
http://stackoverflow.com/questions/6520313/how-to-get-rtsp-links-android 에서 참조 package jp.ddo.gallop.android; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import jp.ddo.gallop.android.youtube.*; import org.apache.http.HttpR..
package org.apache.android.media; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.webkit.URLUt..
출처 : http://croute.me/392 예전에 한번 버튼의 클릭이벤트에 대해서 고찰한적이 있었습니다. onClick()의 구현이 더 좋을까, OnClickListener 객체를 각각 생성해서 구현하는 것이 좋을까에 대한 내용이었습니다. 어쨋든 전 결론을 onClick()의 구현(implements)으로 내렸었죠. ( 버튼 클릭 이벤트 처리에 관한 고찰 : http://croute.me/326 ) 이번에는 저번과는 조금 다른 고찰입니다. 수많은 버튼을 사용해야 하는 경우, 하나씩 아이디를 onClick()에서 siwtch 문 안에 case로 정의내려 처리하기는 너무 곤욕이죠. 휴... 그래서 이런 방법을 생각해 보았습니다. 향상된 for문과 배열을 이용하는 방법. 접기 주의 깊게 향상된 반복문(En..
출처 : http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/ I have updated the quickaction implementation code so it can be used more efficient and the dialog will be automatically dismissed after pressing the action item. All the source codes now available via github so you can track the changes. Official Twitter application for Android has introduced new Android UI features a..
link from : http://www.siegmann.nl/epublib/android Android Epublib-core runs on Android. Reading, writing and manipulating epub files is fully supported. Requirements Slf4j-android. You can download this at http://www.slf4j.org/android/ Getting started Download epublib-core-latest.jar from https://github.com/downloads/psiegman/epublib/epublib-core-latest.jar Download slf4j-android Add both to yo..
http://dlucky.tistory.com/168
출처 : http://sankarganesh-info-exchange.blogspot.com/2011/04/dynamically-loading-datas-in-listview.html Dynamically Loading Data's (Adding Footer to ListView ) in ListView in Android Add a footer to List View and when the user clicks that Footer, you can show parse the next set of data and show it in the list. Step1: Create a Button Step2: Make it as Footer to the List View ListView myList; View ..
Monday, August 3, 2009 HTTP connection reuse in Android Alright, time for something new and hopefully useful, re-using HTTP connections in your application. I've yet to write an Android application that doesn't make any HTTP requests, and they tend to do it frequently. Since all of my applications are also heavily concurrent, passing around a default HttpClient instance will give you thread cont..
