Archive

Archive for the ‘Mobile’ Category

SimpleCursorAdapter 사용시 column ‘_id’ does not exist 에러가 뜨면?

September 7th, 2010 Kim Jong-sun No comments

SimpleCursorAdapter 사용시 column ‘_id’ does not exist 에러가 뜨면?

출처 – http://androidhuman.tistory.com

  • Google Bookmarks
  • Google Reader
  • Twitter
  • Facebook
  • Google Buzz
  • WordPress
  • Share/Bookmark
Categories: Android Tags:

Log 남기기

August 31st, 2010 Kim Jong-sun No comments

android.util.Log 클래스에 메서드를 이용하면된다.

Log 클래스 안에 모든 메서드는 static 으로 선언되어 있기때문에 객체 생성 없이 그냥 불러 쓰면된다.

상황에 따라 debug, error, warning, information 등의 메서드를 사용하면 된다.

아래와 같이..

사용 방법은

클래스의 멤버 변수로

private static final String TAG = "[Debug Message] ";

“[Debug Message]” 라는 tag 를 지정해준 후

로그를 남기고자 하는 부분에

Log.d(TAG, "### onCreate() start!!");

와 같이 로그를 남기면 된다.

Logcat 에서 아래와 같이 확인할 수 있다.

  • Google Bookmarks
  • Google Reader
  • Twitter
  • Facebook
  • Google Buzz
  • WordPress
  • Share/Bookmark
Categories: Android Tags:

안드로이드 앱 개발 페스티벌 개발자 컨퍼런스

August 27th, 2010 Kim Jong-sun No comments

출처 – http://twitonair.com/SKTstore

  • Google Bookmarks
  • Google Reader
  • Twitter
  • Facebook
  • Google Buzz
  • WordPress
  • Share/Bookmark
Categories: Android Tags: