2009/05/23

Enable Android log (啟動Android的log功能)

If you want to enable the Android log, the first thing you need to do is make the LogCar View visible.
Eclipse > Window > Customize Perspective > Shortcuts > Submenus : Show View > Categories : Android > LogCat



To open the view, clicking Window > Show View > LogCat


In your Android project, import android.util.Log;
Then using the static variable Log to keep trace of your target.
Ex: Log.d("DEBUG", "message");



Read more:
[1] Driving Direction (Route Path)
[2] Android – Update current location by LocationProvider

沒有留言:

台灣好行:後慈湖、大溪老街半日遊

要搭台灣好行 慈湖線 (票價100)的朋友,可以在【中壢火車前站】出口,往左邊直走5分鐘到【桃園客運總站】搭乘。搭車到最後一站【慈湖】後可以看到導覽服務站。後慈湖算是管制區,需要先 上網申請 才可以進入,如果是搭台灣好行的話,可以直接在服務站登記候補。假日通常都是人滿為患,建議如...