Anyone knows why Logcat doesn\'t show full message? I try to print xml response from my site but I only can get some of it..
put your cursor on the error ,you will see the full log-cat info.
Because your logcat has reached its max size, see What is the size limit for Logcat and how to change its capacity?
Try using this code to write your result into a text file in sdcard, then use DDMS to get it.
public static void appendLog(String text)
{
File logFile = new File("sdcard/log.txt");
if (!logFile.exists())
{
try
{
logFile.createNewFile();
} catch (IOException e)
{
e.printStackTrace();
}
}
try
{
// BufferedWriter for performance, true to set append to file flag
BufferedWriter buf = new BufferedWriter(new FileWriter(logFile, true));
buf.append(text);
buf.newLine();
buf.close();
} catch (IOException e)
{
e.printStackTrace();
}
}