--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To post to this group, send email to robotium-...@googlegroups.com.
To unsubscribe from this group, send email to robotium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotium-developers?hl=en.
--You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/robotium-developers/-/s_jJy74H3l0J.
I tried the suggested code below. It partially executed the code(ie, the while loop) and displayed a heap error after 5 mins. And eventually my eclipse froze. I don't have a rooted phone. I just want to verify certain strings in logcat. Could anyone advise me? Is there a simple way to check logcat?
try {
String cmd = "logcat";
Log.i("############## **************", "CMD: " + cmd);
Process log = Runtime.getRuntime().exec(cmd);
BufferedReader in = new BufferedReader(
new InputStreamReader(log.getInputStream()));
String line = null;
while ((line = in.readLine()) != null) {
Log.i("#####", line);
}
Log.i("##########", "**************************************");
} catch (Exception ex) {
ex.printStackTrace();
}
--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotium-develo...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotium-developers?hl=en.For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Robotium Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/robotium-developers/Js1sB2qFwC8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to robotium-develo...@googlegroups.com.