contact: 
Uki D. Lucas

Recent site activity

016i. logging using LogCat


  • example method using logging to output content of the editable text field

private void saveUserPreferences()

{

Log.i("Main.saveUserPreferences()", "saving EditText value: " + contactInfo.getText().toString());

}


  • Run your application



  • switch to DDMS perspective
  • select your Android device
  • open LogCat view to see the log output