I'm trying to get a string using a http call. I am noticing that in large files I am not reading all of the file before it stops and gives me this error and then continues with the rest of the script.
11-29 11:26:18.417: WARN/ActivityManager(59): Launch timeout has expired, giving up wake lock!
11-29 11:26:18.556: WARN/ActivityManager(59): Activity idle timeout for HistoryRecord{45059000 com.MeetingManager/.MeetingManager}
I feel like the getXML function is taking to long and the app just moves right along to the next line of code which uses the incomplete string from the previous function that did not finish. Of course this is making my app crap out.
How do I give my function more time?
Below are the two function calls. If you need more info from these calls just let me know.
String xml = XMLfunctions.getXML(items); Document doc = XMLfunctions.XMLfromString(xml);