|
POST
|
We attended the Flex holistic lab in September 2012. At the time we were testing a mobile app using the 3.1b Flex build without problems. We've just started looking at the actual 3.1 release for an online/offline mobile app. In the app we are serializing a feature layer for offline use. With 3.0 and the 3.1b build, we were using in the September lab, all worked well, but in 3.1 we are getting the error below. We wondered what might have changed in 3.1 to cause this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.layers::Layer/updateLayerIfInvalid() at com.esri.ags.layers::Layer/updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/validateDisplayList() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/validateNow() at mx.core::UIComponent/commitCurrentState() at mx.core::UIComponent/setCurrentState() at mx.core::UIComponent/set currentState() at spark.components.supportClasses::SkinnableComponent/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/validateNow() at mx.core::UIComponent/commitCurrentState() at mx.core::UIComponent/setCurrentState() at mx.core::UIComponent/set currentState() at spark.components.supportClasses::SkinnableComponent/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback() Thanks --Rory
... View more
01-29-2013
04:53 AM
|
0
|
2
|
740
|
|
POST
|
We are using tile packages generated in ArcMap 10.1. Zooming to building level is failing on the mobile. The steps are as follows: 1) Open TIF in ArcMap 10.1. Zoom to buildings/bushes looks good: http://webmapsolutions.com/assets/blog/tpk/tpk1.jpg 2) Generate TPK in ArcMap 10.1 and set highest level of detail of 20: http://webmapsolutions.com/assets/blog/tpk/tpk2.jpg 3) Copy TPK to mobile device and write simple Flex Mobile app to display tpk: http://webmapsolutions.com/assets/blog/tpk/tpk3.jpg 4) The above is the farthest the app will zoom before we lose the imagery: http://webmapsolutions.com/assets/blog/tpk/tpk4.jpg The simple Flex mobile code is included below. We added LODs without success: <fx:Script> <![CDATA[ import com.esri.ags.layers.ArcGISLocalTiledLayer; import com.esri.ags.layers.supportClasses.LOD; import com.esri.ags.events.MapEvent; private function init():void { map.addEventListener(MapEvent.LOAD, addLODs); const filetpk:File = File.documentsDirectory.resolvePath("Download/Untitled.tpk"); if(filetpk.exists) { var localTPK:ArcGISLocalTiledLayer = new ArcGISLocalTiledLayer(); localTPK.name = "offlinelayer"; localTPK.file = filetpk; localTPK.visible = true; map.addLayer(localTPK); } } private function addLODs(e:Event):void { var lods:Array = map.lods; lods.push(new LOD(NaN, 0.6, 3000)); lods.push(new LOD(NaN, 0.3, 1500)); lods.push(new LOD(NaN, 0.1, 500)); map.lods = lods; } ]]> </fx:Script> <esri:Map id="map"/> We wondered if anybody had thoughts on getting past this zoom limit? Thanks --Rory
... View more
01-29-2013
04:12 AM
|
0
|
10
|
3689
|
|
POST
|
Without wishing to use this forum inappropriately. We are currently building an ArcGIS Online mobile app in Mobile Flex. Some more Mobile flex muscle would be a huge help. If you know mobile Flex and are interested in sub-contract work please contact us at: info@webmapsolutions.com Thanks --Rory
... View more
01-15-2013
02:54 PM
|
0
|
0
|
527
|
|
POST
|
The launch of ArcGIS Online has made our mobile development work so much easier. We've put a tonne of recent focus into offline mobile ArcGIS Online. One area we saw as essential for a complete solution was feature attachments. So being able to add an image, video or audio file to a feature while out in the field. When online, adding attachment functionality proved to be relatively easy. But offline was more challenging. After a few late nights we managed to put that in place too. Thought it worth sharing: http://www.webmapsolutions.com/mobile-arcgis-online-adding-attachments-offline --Rory
... View more
01-07-2013
07:55 AM
|
0
|
0
|
465
|
|
POST
|
We've put a tonne of recent focus into offline mobile ArcGIS Online. One area we saw as essential for a complete solution was feature attachments. So being able to add an image, video or audio file to a feature while out in the field. When online, adding attachment functionality proved to be relatively easy. But offline was more challenging. After a few late nights we managed to put that in place too. Thought it worth sharing: http://www.webmapsolutions.com/mobile-arcgis-online-adding-attachments-offline --Rory
... View more
01-07-2013
07:53 AM
|
0
|
0
|
416
|
|
POST
|
I thought it worth mentioning some work we have been doing using Mobile Flex with online/offline editing. Here is a demo and more information: http://www.webmapsolutions.com/free-arcgisonline-mobile-offline-editing-app --Rory
... View more
12-31-2012
09:59 AM
|
0
|
0
|
326
|
|
POST
|
As we continue to build out a Flex Mobile offline app. One user request we have received is adding the ability to generate features based on GPS position. So build a line feature as you move. We have started with point data. So select a button and a point feature is added to the map at current location. Our approach has been to dispatch the following on button click: myEditor.drawTool.dispatchEvent(new DrawEvent(DrawEvent.DRAW_END, gpsPt)); where gpsPt is a graphic built using the selected symbol (see video below) and GPS location. Here is a demo of the workflow: http://www.youtube.com/watch?v=MgjHu2sLfMg&feature=youtu.be We are finding an error generated with event dispatch. tyleableStageText/updateViewPort() Any feedback/thoughts on the approach or error would be very helpful Thanks --Rory
... View more
12-29-2012
11:31 AM
|
0
|
0
|
674
|
|
POST
|
We've just put together a mobile demo showing data from UDOT (Utah Transportation Dept) being edited in online and offline modes on a mobile Android tablet. The app uses data published to ArcGIS Online, and includes attaching images to features. See the following link: http://www.webmapsolutions.com/mobile-arcgis-online-editing-online-offline-mode-transportation --Matt
... View more
12-26-2012
11:39 AM
|
0
|
0
|
2021
|
|
POST
|
I had a quick follow up question to the one below: http://forums.arcgis.com/threads/73917-Mobile-Editing-App-Attachment-Question The app we are building also does offline editing. We have attachments working online, wondering how we could do the same offline. From what we see the image data is pushed and pulled from the server. In offline editing mode it is easy to store the new/deleted/edited graphics for later (online) applyedits push to server. Wondering of we can do the same with attachments? Thanks --Rory
... View more
12-22-2012
12:59 PM
|
0
|
0
|
661
|
|
POST
|
Many thanks Sarthak . A big help. Here are the results, we've added photo attachments to the mobile app: http://www.webmapsolutions.com/mobile-arcgis-online-editing-photo-attachments --Rory
... View more
12-21-2012
03:05 PM
|
0
|
0
|
355
|
|
POST
|
We are building a mobile editing app in Mobile Flex for iOS and Android, demo here: http://www.youtube.com/watch?feature=player_embedded&v=z3rcrOIciCQ We have editing in both online and offline mode working well. What we would like to add is the ability to attach an image to a feature. We have attachments enabled in our (sample) ArcGIS Online hosted feature service. We'd like in our Mobile Flex viewer to have a similar component to what there is in ArcGIS Online: [ATTACH=CONFIG]20082[/ATTACH] Any advice on how we might build this component we would welcome. Thanks --Rory
... View more
12-19-2012
09:32 AM
|
0
|
2
|
2761
|
|
POST
|
We keep pushing down the Flex Mobile path. For installed so called hybrid app development it is hard to beat; against html5/JS, Phonegap conversion. We have just released a free demo version of an ArcGIS Online Mobile editing app. It can run on iOS or Android (for easier distribution the free release is for Android). The app is to demonstrate online and offline mobile editing of an ArcGIS Online web map. It is intended to give the Esri user community a window into the world of connected and disconnected editing with ArcGIS Online. We'd welcome any feedback you might have. Here is a link to the download page: http://www.webmapsolutions.com/free-arcgisonline-mobile-offline-editing-app --Matt
... View more
12-06-2012
06:58 AM
|
0
|
0
|
567
|
|
POST
|
We've started work on building an iOS and Android version of the Water Utility Mobile Map: http://www.arcgis.com/home/item.html?id=c294e93497d042d2ad534f76f0d28931. As part of that work we have just released a free demo version of an ArcGIS Online Mobile editing app. Like the Water Utility Mobile Map it allows for online and offline editing. We are continuing to build out the functionality, but would welcome any feedback you might have in this phase of the development. Here is a link to the download page: http://www.webmapsolutions.com/free-arcgisonline-mobile-offline-editing-app --Matt
... View more
12-06-2012
06:55 AM
|
0
|
0
|
584
|
|
POST
|
We've just released a free demo version of an ArcGIS Online Mobile editing app. It can run on iOS or Android (for easier distribution the free release is for Android). The app is to demonstrate online and offline mobile editing of an ArcGIS Online web map. It is intended to give the Esri user community a window into the world of connected and disconnected editing with ArcGIS Online. We'd welcome any feedback you might have. Here is a link to the download page: http://www.webmapsolutions.com/free-arcgisonline-mobile-offline-editing-app --Matt
... View more
12-06-2012
06:41 AM
|
0
|
0
|
2441
|
|
POST
|
Mike, Thanks for clearing this up. We missed the step to make them hosted feature services http://resources.arcgis.com/en/help/arcgisonline/index.html#//010q0000006m000000 we simply added the shapefile as a feature layer to the map. So if we have multiple shapefiles, we would need to publish each individually as hosted shapefiles. To pull them into one map, we would then just need to create a new webmap and add these hosted feature layers as new layers to this map. --Rory
... View more
10-16-2012
08:45 AM
|
0
|
0
|
911
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-16-2015 10:59 AM | |
| 1 | 07-19-2016 02:49 PM | |
| 1 | 08-27-2011 05:35 AM | |
| 1 | 09-16-2014 06:38 AM | |
| 1 | 08-21-2014 01:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|