2014. 4. 24. 11:49



[using 문 사용 예]



DB 를 사용하기 위해서  Connection 객체를 생성하고 

open() 하여 DB 데이터를 읽거나 쓰고 나서 close() 하는 게 정상 적인 방법이다.


Using 문을 사용하면  using 문 종료 후에 리소스들을 쉽게 되돌려 준다. 그러므로 db 를 close() 할 필요가 없다.


using 문 사용 예


using (SqlConnection conn= new SqlConnection("databsesName"))
{  

conn.Open();

 

return (new xxDao()).getXXX(conn, param1, param2); }


using 문 사용하지 않은 예 

try {

SqlConnection conn= new SqlConnection("databsesName"); conn.Open(); } finally { conn.Close(); }


using 문에서 여러 인스턴스를 선언 할 수 있다.


using (Font font3 = new Font("Arial", 10.0f),
            font4 = new Font("Arial", 10.0f))
{
    // Use font3 and font4.
}


Posted by hoonihoon
2014. 4. 24. 10:22



빌더 패턴(Builder pattern)이란 복합 객체의 생성 과정과 표현 방법을 분리하여 동일한 생성 절차에서 서로 다른 표현 결과를 만들 수 있게 하는 패턴이다. _ wiki


기본 샘플


http://ko.wikipedia.org/wiki/%EB%B9%8C%EB%8D%94_%ED%8C%A8%ED%84%B4



실제 업무상 사용 하는 샘플 


http://www.javacodegeeks.com/2013/01/the-builder-pattern-in-practice.html


http://rdafbn.blogspot.ie/2012/07/step-builder-pattern_28.html


빌더패턴 수정하기


http://jlordiales.wordpress.com/2012/12/24/the-ins-and-outs-of-immutability/




Android builder pattern 샘플

https://github.com/nostra13/Android-Universal-Image-Loader/blob/master/sample/src/com/nostra13/example/universalimageloader/UILApplication.java

https://github.com/nostra13/Android-Universal-Image-Loader/blob/master/library/src/com/nostra13/universalimageloader/core/ImageLoaderConfiguration.java

Posted by hoonihoon
2014. 4. 1. 11:36



토익 학원에서 스터디 하시나요?  단어는 어떻게 외우고 계신가요?


노트를 들고 외우시나요? 아니면 책상에 앉아서만 외우시나요?



저같은 경우는 매번 노트에 적어서 종이 한장 들고 다니면서 하루시험 볼 단어를 외웠는데요.


편리한 좋은 앱이 하나 있어서 추천해 드립니다.










한손으로 폰을 들고 외울 수 있어서 참 좋네요.


추천 드립니다. 


별점 : ★★★★★



마켓 다운로드 가기 :


구글 스토어로 다운로드 



'2019년 이전 정리 > 모바일 정보' 카테고리의 다른 글

기념일 - 로즈데이 5월 14일 선물 (무료궁합)  (0) 2015.05.14
하이브리드 앱 (웹앱) 이 최선 책인가?  (0) 2014.06.02
아이핀이란?  (0) 2014.02.26
OAuth 란  (0) 2013.12.12
phone gap 앱개발  (0) 2013.03.29
Posted by hoonihoon
2014. 3. 14. 17:45

.


Posted by hoonihoon
2014. 3. 12. 11:05



File is not visible right?


Check out Below. Very Simple. 




One. Did you save the file types to fit? 





Please enter the words you want to memorize in "A column" 

Enter your interpretation of the word in column B 

Enter the examples column c 






Two. Did you save it as a xls file extension? (xlsx is not supported.) 




Is not this does not help, please leave a comment. 


'll Process as fast as possible in real time. ^ ^

Posted by hoonihoon
2014. 3. 12. 10:57



Would you like to hear a native speaker pronounce? Please set up. This is simple. 


Now you slowly along the back - very easy. 


Please set up as shown below. Really easy. 



1. Select the Language & Input





2. Select Text-To-Speech output





3. Click the icon





4. Select the language





5. If you want to study Korean, Korean to select.



Posted by hoonihoon
2014. 3. 12. 10:30

Excel Word ver1.0 launched .


Motivation to create apps like this.


One . Subway, bus, school secretary so you try to memorize the words out of view in the book was quite a few stress .

     -> One-touch vocabulary is possible to study the smartphone .


Two . Do not waste words , I should be able to memorize the words you need to review it .

     - > One Touch vocabulary words that you want to edit the Excel was created to help memorize .


Three . Because it has a heavy bag in one hand with one hand and holding a smartphone and wanted to study .

    -> One-touch vocabulary using the thumb and made ​​a one-touch technology .


Easy one-touch vocabulary touch any place in Edinburg can memorize words .



Functionality


One . Memorization / not rote learning set

Two . General / audio learning set

Three . Sequential / random learning set

Four . Flashing learning

Five.   Learning touch



Now ... So now let's see about about how to use apps .


One . Download the app .


hoonihoon.tistory.com


Two . To edit and save a word

    File Format : Excel 97 - 2003 Workbook (*. Xls) to save it.






Three . A USB connection to your app . And put it in a folder gives Files .


 Files folder is not? - Please run the app again . The Files folder will be created.






Four . When you run the app file is registered. Please click to add your vocabulary .



 Difficult to do ? Please try again slowly . And comments please. Right can help.




Posted by hoonihoon
2014. 3. 11. 18:54




열심히 만든 파일이 안보이셔서 실망 하셨나요?


아래 몇가지 확인만 해주시면 사용할 수 있습니다.


1. 파일 형식에 맞게 저장 하셨나요?


맨앞열인 A열에는 외울 단어, B열에는 해석, C열에는 예문,동의어 등등 적어주세요. 





2. 파일의 확장자를 xls 로 저장 하셨나요?   (xlsx 는 지원되지 않습니다.)




이래도 안된다면 댓글을 남겨주세요. 


최대한 빠르게 실시간으로 처리 해드립니다. ^^

Posted by hoonihoon