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

沒有留言:

Buddhism and Software Developer

In today's fast-paced society, we are often surrounded by work, goals, and external pressures. However, the wisdom found in Buddhism off...