Android Question Show full String contents and/or get XML values

jaraiza

Active Member
Licensed User
Longtime User
Hi,

I know log is truncated, and that's the problem. I was going to ask how to get "records" from a SQL Server query obtained through httputils2 (WebService, DataTable type), but first I need to get full string contents.

Neither log or copy from debugger windows cointains full string. Getting with right mouse button option "copy" in debugger, I get:

B4X:
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"><xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="dtEvents" msdata:UseCurrentLocale="true"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:element name="dtEvents"><xs:complexType><xs:sequence><xs:element name="ID_Evento" type="xs:int" minOccurs="0" /><xs:element name="EventoNombre" type="xs:string" minOccurs="0" /><xs:element name="Locacion" type="xs:string" minOccurs="0" /><xs:element name="FechaIni" type="xs:dateTime" minOccurs="0" /><xs:element name="FechaFin" type="xs:dateTime" minOccurs="0" /><xs:element name="E......
while I know it must contains more data.

The real results from the query are:

B4X:
|   ID_Evento  |      EventoNombre    |    Locacion   |   FechaIni |    FechaFin    |EnActivo
|3             |Nuevo Evento 1        |MyCity         |2015-01-08  |2015-02-01      |1
|4             |Nuevo Evento 2        |MyCity         |2015-01-07  |2015-01-24      |1

and I'm trying to add all "EventoNombre" results to a Spinner.

Can someone enlighten me how to do this?

Thanks!
 
Last edited:

jaraiza

Active Member
Licensed User
Longtime User
I finally solved it using JSON instead a WebService, but if someone knows how to get the values from a DataTable Schema, I'm still interested :)
 
Upvote 0
Top