Java tutorial
//package com.java2s; //License from project: LGPL import android.util.Log; public class Main { /** * prints the passed array * @param _tag the tag for the print * @param arr the array to print */ public static void printArray(String _tag, double[] arr) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < arr.length; i++) { sb.append(arr[i]); sb.append("\n"); } Log.e(_tag, sb.toString()); Log.e(_tag, "--------------------"); } }