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

沒有留言:

2024年React state management趨勢

輕量化 在過去Redux 是 React 狀態管理的首選函式庫。 Redux 提供了強大的功能和靈活性,但也帶來了一定的學習成本和複雜度。 隨著 React 生態的不斷發展,越來越多的開發者開始追求輕量化的狀態管理函式庫。 Zustand 和 Recoil 等庫以其簡單易用、性...