Hwarang Spirit

and then Hwarang Spirit

At last you will win…

Posted in Vectorproduct | Tagged | Leave a comment

Alchemy

“And, when you want something, all the universe conspires in helping you to achieve it.”

http://www.goodreads.com/work/quotes/4835472-o-alquimista 

 

Posted in Vectorproduct | Tagged | Leave a comment

ListView minHeight, typeface

 

Posted in Android | Leave a comment

Clear All Lint Markers Errors

case of  ”Clear All Lint Markers” error …
open AndroidManifest.xml

 

 

Posted in Android, Question | Tagged | Leave a comment

android.permission.INTERNET

 

Posted in Android | Leave a comment

eclipse Korean character problem

 

 

Posted in Android | Tagged , | Leave a comment

OnItemCLickListener not working gridview

true -> false

http://stackoverflow.com/questions/5982472/gridview-onitemclicklistener-never-gets-invoked

http://stackoverflow.com/questions/5577945/onitemclickevent-not-fired-in-gridview-in-android

Posted in Android, Question | Tagged | Leave a comment

G is G!

 

Posted in Vectorproduct | Tagged | Leave a comment

Eclipse shortcut to comment selection in an XML file

Comment/Uncomment toggle -> Ctrl+Shift+C

http://stackoverflow.com/questions/3025546/eclipse-shortcut-to-comment-selection-in-an-xml-file

Posted in Question | Tagged | Leave a comment

android.app.activitythread.performlaunchactivity nullpointerexception

 

Posted in Android | Leave a comment

How to uninstall Windows Live Essentials via CMD line parameter

“c:\program files\windows live\installer\wlarp.exe” /cleanup:all /q

http://answers.microsoft.com/en-us/windowslive/forum/messenger-wlinstall/how-to-uninstall-windows-live-essentials-via-cmd/3d26c7ea-faf0-437a-88b0-c5bdd3dd31ec

Posted in Question, Windows 8 | Tagged | Leave a comment

vi fold method

.vimrc configuration

vi command mode

zR -> unfold all
zM -> fold all
za -> fold/unfold

Posted in Ubuntu | Tagged | Leave a comment

android.os.NetworkOnMainThreadException

android.os.NetworkOnMainThreadException -> execution error
correct source(after)

 

wrong source (before)

impossible to connet network in main UI thread after Android 3.0 version
so you must create other thread

cite from -> http://ironheel.tistory.com/48

사실 위 코드에는 문제가 전혀 없다.
문제는 android가 변했다는 점이다.

결론부터 말하자면 honeycomb에서는 main thread(UI)에서 네트워크 호출을 하면 무조건 error로 간주한다.

앱 전체의 thread와 컨트롤을 관리하는 main에서 네트워크 호출로 대기중인 시간이 길어지면
사용자는 안드로이드앱의 문제로 인식하게 된다. 이를 방지하자는 것이 목적이다.
다음 링크를 참조하자 :  painless threading 번역글

Posted in Android | Leave a comment

android socket

 

Posted in Android | Tagged | Leave a comment

socket2

 

Posted in Android, Java | Tagged , | Leave a comment

socket client data stream main

 

Posted in Android, Java | Leave a comment

socket write OutputStreamWriter OutputStream getOutputStream

 

Posted in Android, Java | Leave a comment

SocketClient constructor

 

Posted in Uncategorized | Leave a comment

Java is so simple!

Java is so simple!

Posted in Java | Tagged | Leave a comment

Create a Project with Command Line

http://developer.android.com/training/basics/firstapp/creating-project.html#CommandLine

Posted in Android | Tagged | Leave a comment