목록전체 글 (1484)
오늘도 공부
출처 : http://blog.naver.com/skyadult?Redirect=Log&logNo=20025986907 14. ServerSocketChannel 클래스와 SocketChannel 클래스 이제 실전에 들어가기 전에 ServerSocketChannel 클래스와 SocketChannel 클래스에 대해 먼저 알아보자. 이들은 net패키지의 ServerSocket클래스와 Socket클래스를 채널로서 다루고자 할 때 쓰는 SelectableChannel이다. 이들 네트워크 관련 채널들은 독자적으로 소켓의 역할을 대처하지는 않는다. 대신 소켓 클래스를 내부에 가지고 있으면서 이들의 기능을 채널화하는데 적절히 이용하게 된다. 1> ServerSocketChannel 클래스 ① ServerSocketC..
출처 :http://pppplqqqq.blog.me/100107860575 ProgressBar 설정 styles.xml 파일에 추가 (res/values/styles.xml) drawable 폴더에 progress_large_color.xml 추가
The SequenceInputStream class allows you to concatenate multiple InputStreams. The construction of aSequenceInputStream is different from any other InputStream. A SequenceInputStream constructor uses either a pair of InputStreams or an Enumeration of InputStreams as its argument:SequenceInputStream(InputStream first, InputStream second) SequenceInputStream(Enumeration streamEnum) Operationally, ..
http://ecogeo.tistory.com/278
import java.io.BufferedInputStream;import java.io.BufferedOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.util.zip.ZipEntry;import java.util.zip.ZipInputStream;import java.util.zip.ZipOutputStream;import org.apache.commons.lang.StringUtils;public class ZipUtils {private static final int COMPRESSION_LEVEL = 8;private static final int BUF..
http://jeehun.egloos.com/3998716
출처 : http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ Separating Lists with Headers in Android 0.9Monday August 18, 2008 at 4:42 PM Earlier today the latest Android 0.9 SDK was released, and it’s packed full of wonderful changes. As you play around, you might see ListViews split into sections using separating headers. (Example shown on the right is the browser set..
출처 : http://blogingtutorials.blogspot.com/2010/11/android-listview-header-two-or-more-in.html Hello Friends, There are two or many more header listview in android. So Today we are discussed about the two header of android. And See Also Simple Listview Display In Android Device. So This are the all java and xml file given below. and this are the very useful projects. main.xml header.xml Now The j..
출처 : http://blog.naver.com/PostView.nhn?blogId=kippee&logNo=130048583564 아직 까지는 이 세개의 관계가 정리가 안된다. http://codinghard.wordpress.com/2009/05/16/android-thread-messaging/ 에서는 Handler와 Looper의 역할에 대하여 아래와 같이 예를 들어 설명한다. 안드로이드는 Thread간에 통신하기 위해서 Handler와 Looper를 제공하고 있다. Child Thread가 웹으로 부터 이미지를 가져와 생성하려고 할때의 예를 제시하고 있다. 생성이 끝나고 (아마도 imageView형태로 바꾸어서) Main Thread의 Message Queue와 연동된 Handler를 이용하여 M..
http://www.faqs.org/rfcs/rfc1867.html Content-type: multipart/form-data, boundary=AaB03x --AaB03x content-disposition: form-data; name="field1" Joe Blow --AaB03x content-disposition: form-data; name="pics" Content-type: multipart/mixed, boundary=BbC04y --BbC04y Content-disposition: attachment; filename="file1.txt" Content-Type: text/plain ... contents of file1.txt ... --BbC04y Content-dispositio..
