<?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 Re: FeatureLayer from FeatureCollection in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460037#M3134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks andrewb!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it works like a charm!!! realy very thanks! I think should learn to read often the LogCat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to do it now offline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and just another question, to apply a query is so easy like implement the query sample? and it's possible do an identify?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 13:27:11 GMT</pubDate>
    <dc:creator>EnriqueIbarra</dc:creator>
    <dc:date>2012-10-23T13:27:11Z</dc:date>
    <item>
      <title>FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460033#M3130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm a little desperate traying to load a featurecollection, I've launched the sample on my device (Samsung Galaxy Tab 7.0 - Android 4.0 IceCream Sandwich) and apparently it works, but it don't show graphics, just can see the Base Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other idea order, i would like to work offline, don't know if I can save the featurecollection in the device and then work offline.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 17:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460033#M3130</guid>
      <dc:creator>EnriqueIbarra</dc:creator>
      <dc:date>2012-10-22T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460034#M3131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm a little desperate traying to load a featurecollection, I've launched the sample on my device (Samsung Galaxy Tab 7.0 - Android 4.0 IceCream Sandwich) and apparently it works, but it don't show graphics, just can see the Base Map.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In other idea order, i would like to work offline, don't know if I can save the featurecollection in the device and then work offline.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the LogCat.&amp;nbsp; I am getting an Unrecognized character escape ''' exception being thrown.&amp;nbsp; You might have to pick thru the RSS feed from Flickr as it may have changed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 19:11:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460034#M3131</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-10-22T19:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460035#M3132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Check the LogCat.&amp;nbsp; I am getting an Unrecognized character escape ''' exception being thrown.&amp;nbsp; You might have to pick thru the RSS feed from Flickr as it may have changed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that's what I got on LogCat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
10-22 17:10:52.335: D/dalvikvm(19593): GC_CONCURRENT freed 225K, 5% free 7005K/7367K, paused 2ms+6ms
10-22 17:10:52.764: D/dalvikvm(19593): GC_FOR_ALLOC freed 292K, 8% free 7060K/7623K, paused 19ms
10-22 17:10:54.210: D/Test(19593): fiedName is title
10-22 17:10:54.210: D/Test(19593): fiedName is link
10-22 17:10:54.217: D/Test(19593): fiedName is description
10-22 17:10:54.217: D/Test(19593): fiedName is modified
10-22 17:10:54.217: D/Test(19593): fiedName is generator
10-22 17:10:54.217: D/Test(19593): fiedName is items
10-22 17:10:54.257: W/System.err(19593): org.codehaus.jackson.JsonParseException: Unrecognized character escape ''' (code 39)
10-22 17:10:54.257: W/System.err(19593):&amp;nbsp; at [Source: java.io.StringReader@412bf070; line: 87, column: 23]
10-22 17:10:54.257: W/System.err(19593):&amp;nbsp; at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)
10-22 17:10:54.264: W/System.err(19593):&amp;nbsp; at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521)
10-22 17:10:54.264: W/System.err(19593):&amp;nbsp; at org.codehaus.jackson.impl.JsonParserMinimalBase._handleUnrecognizedCharacterEscape(JsonParserMinimalBase.java:496)
10-22 17:10:54.264: W/System.err(19593):&amp;nbsp; at org.codehaus.jackson.impl.ReaderBasedParser._decodeEscaped(ReaderBasedParser.java:1606)
10-22 17:10:54.264: W/System.err(19593):&amp;nbsp; at org.codehaus.jackson.impl.ReaderBasedParser._skipString(ReaderBasedParser.java:1406)
10-22 17:10:54.264: W/System.err(19593):&amp;nbsp; at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:366)
10-22 17:10:54.272: W/System.err(19593):&amp;nbsp; at com.esri.arcgis.android.samples.featurecollection.FeatureCollection.generateGraphics(FeatureCollection.java:181)
10-22 17:10:54.272: W/System.err(19593):&amp;nbsp; at com.esri.arcgis.android.samples.featurecollection.FeatureCollection.access$1(FeatureCollection.java:163)
10-22 17:10:54.272: W/System.err(19593):&amp;nbsp; at com.esri.arcgis.android.samples.featurecollection.FeatureCollection$1.onStatusChanged(FeatureCollection.java:95)
10-22 17:10:54.272: W/System.err(19593):&amp;nbsp; at com.esri.android.map.c.b(Unknown Source)
10-22 17:10:54.272: W/System.err(19593):&amp;nbsp; at com.esri.android.map.c.handleMessage(Unknown Source)
10-22 17:10:54.272: W/System.err(19593):&amp;nbsp; at android.os.Handler.dispatchMessage(Handler.java:95)
10-22 17:10:54.280: W/System.err(19593):&amp;nbsp; at android.os.Looper.loop(Looper.java:137)
10-22 17:10:54.280: W/System.err(19593):&amp;nbsp; at android.app.ActivityThread.main(ActivityThread.java:4514)
10-22 17:10:54.280: W/System.err(19593):&amp;nbsp; at java.lang.reflect.Method.invokeNative(Native Method)
10-22 17:10:54.280: W/System.err(19593):&amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:511)
10-22 17:10:54.280: W/System.err(19593):&amp;nbsp; at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
10-22 17:10:54.280: W/System.err(19593):&amp;nbsp; at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
10-22 17:10:54.288: W/System.err(19593):&amp;nbsp; at dalvik.system.NativeStart.main(Native Method)
10-22 17:10:57.733: D/dalvikvm(19593): GC_CONCURRENT freed 428K, 9% free 7070K/7687K, paused 2ms+2ms
10-22 17:10:57.764: E/ArcGIS(19593): Failed to initialize the ArcGISFeatureLayer.
10-22 17:10:57.764: E/ArcGIS(19593): java.lang.reflect.InvocationTargetException
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at java.lang.reflect.Constructor.constructNative(Native Method)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.internal.util.b.e(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.internal.c.a.a(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.internal.c.f.a(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.internal.c.f.a(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.android.map.ags.ArcGISFeatureLayer.&amp;lt;init&amp;gt;(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.android.map.ags.ArcGISFeatureLayer.&amp;lt;init&amp;gt;(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.arcgis.android.samples.featurecollection.FeatureCollection$1.onStatusChanged(FeatureCollection.java:104)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.android.map.c.b(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.android.map.c.handleMessage(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at android.os.Handler.dispatchMessage(Handler.java:95)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at android.os.Looper.loop(Looper.java:137)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at android.app.ActivityThread.main(ActivityThread.java:4514)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at java.lang.reflect.Method.invokeNative(Native Method)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:511)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at dalvik.system.NativeStart.main(Native Method)
10-22 17:10:57.764: E/ArcGIS(19593): Caused by: java.io.FileNotFoundException: http://help.arcgis.com/en/webapi/javascript/arcgis/demos/images/flickr.png
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:177)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at java.net.URL.openStream(URL.java:462)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.symbol.PictureMarkerSymbol.a(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.symbol.PictureMarkerSymbol.&amp;lt;init&amp;gt;(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.android.a.a.a(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; at com.esri.core.renderer.SimpleRenderer.&amp;lt;init&amp;gt;(Unknown Source)
10-22 17:10:57.764: E/ArcGIS(19593):&amp;nbsp; ... 19 more

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the Unrecognized character escape ''' too, but don't know now what to do...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it suppose tht this is the url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;URI uri = URIUtils.createURI("http","api.flickr.com", -1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , "/services/feeds/geo",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; URLEncodedUtils.format(nameValuePairs, "UTF-8"), null);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460035#M3132</guid>
      <dc:creator>EnriqueIbarra</dc:creator>
      <dc:date>2021-12-11T20:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460036#M3133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The LogCat states that there is an Unrecognized Character Escape.&amp;nbsp; It's an apostrophe.&amp;nbsp; What I did as a temporary solution is replace any apostrophe's with blanks.&amp;nbsp; So:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JsonParser parser = f.createJsonParser(jsonString.replace("'",""));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seemed to work.&amp;nbsp; I'm not sure if there are any other character sequences that'll need to be escaped.&amp;nbsp; Since the feed is dynamic, there may be.&amp;nbsp; I'm not 100% sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your LogCat, there is another error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10-22 17:10:57.764: E/ArcGIS(19593): Caused by: java.io.FileNotFoundException: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/images/flickr.png" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/images/flickr.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the URL to that image, which is the graphic defined in your feature layer definition and is placed on the map for all of the feed locations, no longer exists.&amp;nbsp; I replaced it with another flickr image I found on the web:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.byei.org/ecp/images/flickerIcon.jpg" rel="nofollow" target="_blank"&gt;http://www.byei.org/ecp/images/flickerIcon.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for working offline, you could store the JSON String to your SDCard or phone's internal storage and read it from there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 11:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460036#M3133</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-10-23T11:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460037#M3134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks andrewb!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it works like a charm!!! realy very thanks! I think should learn to read often the LogCat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to do it now offline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and just another question, to apply a query is so easy like implement the query sample? and it's possible do an identify?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 13:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460037#M3134</guid>
      <dc:creator>EnriqueIbarra</dc:creator>
      <dc:date>2012-10-23T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460038#M3135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can apply a query to your FeatureLayer.&amp;nbsp; Check out ArcGISFeatureLayer.queryFeatures(); in the API help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a sample.&amp;nbsp; Obviously you'll have to modify the where clause:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; try {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer = new ArcGISFeatureLayer(layerDefinition, fs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Query q = new Query();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.setWhere("MYVAL = 'xyz'");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.setReturnGeometry(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.setOutFields(fLayer.getOutFields());&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.queryFeatures(q, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(fLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Toast.makeText(FeatureCollection.this, "Flicker feed contents added to feature layer", Toast.LENGTH_SHORT).show();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (Exception e) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated catch block&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 13:45:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460038#M3135</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-10-23T13:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460039#M3136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;As for working offline, you could store the JSON String to your SDCard or phone's internal storage and read it from there.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the nuisance Andrew, to read it from SD or internal storage should I store the result of the call to the getJsonResponse function and then just read that from the file stored? or should I only save the result of REST to my layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can apply a query to your FeatureLayer.&amp;nbsp; Check out ArcGISFeatureLayer.queryFeatures(); in the API help.&lt;BR /&gt;&lt;BR /&gt;Here's a sample.&amp;nbsp; Obviously you'll have to modify the where clause:&lt;BR /&gt;&lt;BR /&gt; try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer = new ArcGISFeatureLayer(layerDefinition, fs,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Query q = new Query();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.setWhere("MYVAL = 'xyz'");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.setReturnGeometry(true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.setOutFields(fLayer.getOutFields());&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.queryFeatures(q, null);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(fLayer);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Toast.makeText(FeatureCollection.this, "Flicker feed contents added to feature layer", Toast.LENGTH_SHORT).show();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated catch block&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the advice, it's really helping&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:17:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460039#M3136</guid>
      <dc:creator>EnriqueIbarra</dc:creator>
      <dc:date>2012-10-23T17:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer from FeatureCollection</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460040#M3137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's up to you, but i might store the JSON string.&amp;nbsp; then you can manipulate it as necessary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featurelayer-from-featurecollection/m-p/460040#M3137</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-10-23T17:22:58Z</dc:date>
    </item>
  </channel>
</rss>

