<?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: Flex API 2.0 with Air Android API 2.5 in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121761#M2919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works!&amp;nbsp; I tried another approach with an mxml.&amp;nbsp; I'll write up something later and post it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Sep 2010 01:46:44 GMT</pubDate>
    <dc:creator>AlpineTech</dc:creator>
    <dc:date>2010-09-27T01:46:44Z</dc:date>
    <item>
      <title>Flex API 2.0 with Air Android API 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121756#M2914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am testing the Flex API 2.0 to see if I can get it to run with latest pre-release of the Air Android 2.5 SDK (AIR25_win_sdk_20100909.zip).&amp;nbsp; Using Flex Builder 4 I created an Air Desktop app and added a reference to the ArcGIS Flex API 2.0 library.&amp;nbsp; First, I tried one of the simple sample applications that just shows a tiled map from ArcGIS online, nothing fancy.&amp;nbsp; It built, but did not run.&amp;nbsp; It threw an error, but I expected that because the Air Android SDK does not support .mxml files yet.&amp;nbsp; Second, I tried the same thing with a simple action script no .mxml file.&amp;nbsp; I thought that might work, but it threw an error when I ran it.&amp;nbsp; The error says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at FlexMobileGIS1()&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the action script below and let me know if there is something I am missing here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;package&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import com.esri.ags.Map;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import com.esri.ags.layers.ArcGISTiledMapServiceLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import com.esri.ags.geometry.Extent; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import flash.display.DisplayObject;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import flash.display.Sprite;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import flash.display.StageAlign;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import flash.display.StageScaleMode;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import flash.events.Event;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; import flash.system.*;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public class FlexMobileGIS1 extends Sprite&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; public function FlexMobileGIS1()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; {&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; stage.align = StageAlign.TOP_LEFT;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var map:Map = new Map();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var extent:Extent = new Extent(-13635000,4541000,-13625000,4547000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; extent.spatialReference.wkid = 102100;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; map.extent = extent;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var tiledLyr:ArcGISTiledMapServiceLayer = new ArcGISTiledMapServiceLayer();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; tiledLyr.url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; map.addLayer(tiledLyr); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; stage.addChild(map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 03:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121756#M2914</guid>
      <dc:creator>AlpineTech</dc:creator>
      <dc:date>2010-09-21T03:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.0 with Air Android API 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121757#M2915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is/was a bug that will be fixed in version 2.1 of the Flex API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 03:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121757#M2915</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-09-21T03:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.0 with Air Android API 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121758#M2916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can I get a patch in the mean time?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 15:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121758#M2916</guid>
      <dc:creator>AlpineTech</dc:creator>
      <dc:date>2010-09-21T15:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.0 with Air Android API 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121759#M2917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;2.1 has been released:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/13360-Flex-API-2.1-released-today"&gt;http://forums.arcgis.com/threads/13360-Flex-API-2.1-released-today&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 16:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121759#M2917</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-09-21T16:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.0 with Air Android API 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121760#M2918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried the new ArcGIS Flex 2.1 API, and yes my first error did not occur, but still no go.&amp;nbsp; I suspect it might be because the API still depends on mx.styles.StyleManager (and other mx stuff).&amp;nbsp; I found this information that indicates that a bunch of the mx stuff was depreciated for Air: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/deprecated.html"&gt;http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/deprecated.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What now?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the ERROR:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.styles::StyleManager$/getStyleManager()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.styles::StyleProtoChain$/getStyleManager()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.styles::StyleProtoChain$/initProtoChain()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at mx.core::UIComponent/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/flex/mx/internal::initProtoChain()&amp;lt;E&amp;gt;" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/flex/mx/internal::initProtoChain()&lt;E&gt;&lt;/E&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/regenerateStyleCache()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at mx.core::UIComponent/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/flex/mx/internal::addingChild()&amp;lt;E&amp;gt;" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/flex/mx/internal::addingChild()&lt;E&gt;&lt;/E&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/addChildAt()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/addLayer2()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/collectionAddHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/collectionChangeHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ListCollectionView/dispatchEvent()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ListCollectionView/addItemsToView()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ListCollectionView/listChangeHandler()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ArrayList/internalDispatchEvent()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ArrayList/addItemAt()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ListCollectionView/addItemAt()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/addLayer()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at FlexMobileGIS1()&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 01:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121760#M2918</guid>
      <dc:creator>AlpineTech</dc:creator>
      <dc:date>2010-09-24T01:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.0 with Air Android API 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121761#M2919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works!&amp;nbsp; I tried another approach with an mxml.&amp;nbsp; I'll write up something later and post it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 01:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121761#M2919</guid>
      <dc:creator>AlpineTech</dc:creator>
      <dc:date>2010-09-27T01:46:44Z</dc:date>
    </item>
    <item>
      <title>android 2.2 API8 maps are visible in thin line</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121762#M2920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i m using Eclips 3.5.2,i followed the mapview tutorial displaying esri online maps v fine but when i add my Gis server maps they apear in a v thin line,what should i do to resolve this ??if any one has gone through this problem and have any guide line for resolve plz help me too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 10:37:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-0-with-air-android-api-2-5/m-p/121762#M2920</guid>
      <dc:creator>Neesheykhan</dc:creator>
      <dc:date>2011-05-03T10:37:21Z</dc:date>
    </item>
  </channel>
</rss>

