Android examples for android.util:Log
Log java.util.Properties
import java.util.Enumeration; import java.util.Properties; import android.util.Log; public class Main { public static void printProperties(String TAG, Properties props) { @SuppressWarnings("unchecked") Enumeration<String> propNames = (Enumeration<String>) props.propertyNames(); while (propNames.hasMoreElements()) { String propName = propNames.nextElement(); Log.d(TAG, propName + "=" + props.getProperty(propName)); }/*from ww w . j a v a 2 s .c om*/ } }