I am new to Android and I am working on determining if a stream is live or not. I have a preexisiting file that does that (http://www.calvaryccm.com/ServiceTimes.asmx/IsServiceTime). This is what it returns when the stream is inactive:
<boolean xmlns="http://tempuri.org/">false</boolean>
When the stream is active it returns this:
<boolean xmlns="http://tempuri.org/">true</boolean>
Does anyone know of a simple way to just check the boolean values? If so will you please provide source code.
This is a reeeaaally ugly, but very simple solution:
A proper solution would would parse the result as XML file: