<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help with String[] queryParams in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/help-with-string-queryparams/m-p/619463#M4163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;How do I select in the numeric field "magnitud" values between 3 and 4? &lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;I've tried in the following way but does not work:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;String[] queryParams = {targetServerURL, "magnitud &amp;gt; 3 &amp;amp;&amp;amp; magnitud &amp;lt; 4" };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-size: 13px; font-family: arial;"&gt;String[] queryParams = {targetServerURL, "magnitud &amp;gt; '3' &amp;amp;&amp;amp; magnitud &amp;lt; '4' " };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;Thanks!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private void addListenerOnButton() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Obtenemos el botón de valores de magnitud entre 3 y 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; mag34Button = (Button) findViewById(R.id.button1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Establecemos un listener para capturar cuando el usuario haga clic&lt;/P&gt;&lt;P&gt;&amp;nbsp; mag34Button.setOnClickListener(new View.OnClickListener() {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; public void onClick(View v) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Limpiamos ls elementos de la capa gráfica&lt;/P&gt;&lt;P&gt;&amp;nbsp; gl.removeAll();&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Establecemos como parámetros la url y la claúsula where.&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Para ello creamos un array de string&lt;/P&gt;&lt;P&gt;&amp;nbsp; String[] queryParams = {targetServerURL, "magnitud &amp;gt; '3'" };&lt;/P&gt;&lt;P&gt;&amp;nbsp; //creamos una tarea asíncrona y la lanzamos con los parámetros&lt;/P&gt;&lt;P&gt;&amp;nbsp; AsyncQueryTask ayncQuery = new AsyncQueryTask();&lt;/P&gt;&lt;P&gt;&amp;nbsp; ayncQuery.execute(queryParams);&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 19:12:29 GMT</pubDate>
    <dc:creator>José_I_León</dc:creator>
    <dc:date>2015-01-13T19:12:29Z</dc:date>
    <item>
      <title>Help with String[] queryParams</title>
      <link>https://community.esri.com/t5/developers-questions/help-with-string-queryparams/m-p/619463#M4163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;How do I select in the numeric field "magnitud" values between 3 and 4? &lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;I've tried in the following way but does not work:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;String[] queryParams = {targetServerURL, "magnitud &amp;gt; 3 &amp;amp;&amp;amp; magnitud &amp;lt; 4" };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-size: 13px; font-family: arial;"&gt;String[] queryParams = {targetServerURL, "magnitud &amp;gt; '3' &amp;amp;&amp;amp; magnitud &amp;lt; '4' " };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;Thanks!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private void addListenerOnButton() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Obtenemos el botón de valores de magnitud entre 3 y 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; mag34Button = (Button) findViewById(R.id.button1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Establecemos un listener para capturar cuando el usuario haga clic&lt;/P&gt;&lt;P&gt;&amp;nbsp; mag34Button.setOnClickListener(new View.OnClickListener() {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; public void onClick(View v) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Limpiamos ls elementos de la capa gráfica&lt;/P&gt;&lt;P&gt;&amp;nbsp; gl.removeAll();&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Establecemos como parámetros la url y la claúsula where.&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Para ello creamos un array de string&lt;/P&gt;&lt;P&gt;&amp;nbsp; String[] queryParams = {targetServerURL, "magnitud &amp;gt; '3'" };&lt;/P&gt;&lt;P&gt;&amp;nbsp; //creamos una tarea asíncrona y la lanzamos con los parámetros&lt;/P&gt;&lt;P&gt;&amp;nbsp; AsyncQueryTask ayncQuery = new AsyncQueryTask();&lt;/P&gt;&lt;P&gt;&amp;nbsp; ayncQuery.execute(queryParams);&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 19:12:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/help-with-string-queryparams/m-p/619463#M4163</guid>
      <dc:creator>José_I_León</dc:creator>
      <dc:date>2015-01-13T19:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with String[] queryParams</title>
      <link>https://community.esri.com/t5/developers-questions/help-with-string-queryparams/m-p/619464#M4164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;Eureka! This works correctly:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a5a5a; font-family: arial; font-size: 13px;"&gt;String[] queryParams = {targetServerURL, "magnitud BETWEEN '3' AND '4'" };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 08:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/help-with-string-queryparams/m-p/619464#M4164</guid>
      <dc:creator>José_I_León</dc:creator>
      <dc:date>2015-01-14T08:47:12Z</dc:date>
    </item>
  </channel>
</rss>

