POST
|
upgrade to the latest version of the Flex SDK, or redownload 4.12.0 with the latest version of Adobe Air. You should be using air 18 which has a better compiler.
... View more
09-08-2015
10:28 AM
|
0
|
0
|
403
|
POST
|
Not sure if anyone has attempted to enable editing in a flex mobile application, but when you add a feature or edit attributes of a feature the info window it creates is significantly wider than in a web application. It goes off the screen, I am trying to set this up to work on a tablet. Please see the attached screen shot, any input would be appreciated thanks, Aaron
... View more
07-23-2012
04:42 AM
|
0
|
4
|
746
|
POST
|
Is there a way to stop the info window from popping up when editing. I am developing a mobile application and no matter what I do the infowindow pops up. I can put my attribute inspector in a bordercontainer and and edit the data there, but that pop-up still occurs. I have tried using map.infoWindow.hide() with no success. I am using the 3.0 API
... View more
07-20-2012
10:26 AM
|
0
|
2
|
672
|
POST
|
what version of flash builder are you running? if its 4.5.1 or 4.6 you need to make sure you are in a mobile project and then you should be able to run Adobe's flash builder mobile emulator. It is seperate than the Android SDK emulator.
... View more
07-11-2012
08:14 AM
|
0
|
0
|
201
|
POST
|
not sure if this has been resolved, but check your MIME types in IIS, add ashx
... View more
04-13-2012
04:39 AM
|
0
|
0
|
1596
|
POST
|
I have not personally done that within my app, here is a link to an Adobe video showing how to access an XML feed and process the data into a list. Here is another link to a GeoRSS feed sample, that will probably provide you with more information on how to process the data into map points. Maybe someone else will chime in, since this is a new question you will want to create a new thread. If i solved your original problem please rate my response.
... View more
03-28-2012
06:18 AM
|
0
|
0
|
288
|
POST
|
here is a sample project I posted, that has all the code for geolocation and also buffers the map point for horizontal accuracy.
... View more
03-26-2012
06:53 AM
|
0
|
0
|
288
|
POST
|
Tom, you have to have a geometry service available to reproject the point, this is the one I was using <esri:GeometryService id="geometryService" concurrency="last" fault="onFaultGeo(event)" projectComplete="projectCompleteHandler(event)" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/>
... View more
03-26-2012
06:42 AM
|
0
|
0
|
288
|
POST
|
I finished a simple project that enhances the basic map sample for flex android. It adds to the geolocation event to reproject the data, so any map service in any projection can be used. It also buffers the reprojected point with the horizontal accuracy of the geolocation event and adds a graphic, replicates the ESRI Android SDK behavior. Project can be foud here
... View more
02-07-2012
07:49 AM
|
0
|
0
|
357
|
POST
|
I came across a thought on how to create that GPS accuracy polygon. I have not finished the code, haven't had the time. But here is what I started, create a new function like this one private function bufferGPS():void
{
var bufferParameters:BufferParameters = new BufferParameters();
bufferParameters.geometries = [ map point to buffer ];
bufferParameters.distances = [this will be where you put the accuracy number];
// Note: As of version 2.0, the buffer constants have been moved to GeometryService.
bufferParameters.unit = GeometryService.UNIT_METER;
bufferParameters.bufferSpatialReference = map.spatialReference;
bufferParameters.outSpatialReference = map.spatialReference;
geometryService1.addEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler);
geometryService1.buffer(bufferParameters);
function bufferCompleteHandler(event:GeometryServiceEvent):void
{
geometryService1.removeEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler);
// Note: As of version 2.0, GeometryService returns geometries (instead of graphics)
for each (var geometry:Polygon in event.result)
{
var graphic:Graphic = new Graphic();
graphic.geometry = geometry;
graphic.symbol = fillSymbol;
myGraphicsLayer.add(graphic);
}
} Call the function everytime you update the GPS, the problem I have not had time to resolve is how to get the horizontal accuracy as the bufferParameters.distances. Not sure its the best way to do it, its a call to a geometry service to buffer the map point everytime the GPS updates, but it could work
... View more
02-03-2012
03:52 AM
|
0
|
0
|
476
|
POST
|
I would say go back to the beginning, Mansour Raad's blog post, found here
... View more
01-04-2012
03:42 AM
|
0
|
0
|
190
|
POST
|
not sure about disconnected editing, I have a colleague that was trying to do that. He was looking into a way to create a remote database on the phone and replicate the GIS data onto the device to edit locally. Here is another post from Mansour about storing map tiles for offline use. I thought that was a neat approach for areas with spotty service
... View more
12-15-2011
01:58 PM
|
0
|
0
|
287
|
POST
|
Mansour Radd originally posted some sample code on his blog, can be found here. Don't remember what version of flash builder but I think its 2.4, you would need that to compile a mobile application for the android phone using the Flex API. You could build the app to handle everything the ArcServer Flex API can put out, plus make use of some of the native features on the mobile device using adobe air to access them, even hit the GPS on the phone for geolocation. Not sure what Apache has to do with developing android apps, its an open source web server.
... View more
12-15-2011
12:45 PM
|
0
|
0
|
287
|
POST
|
The system I used is SQL tables from the assessor's CAMA joined to the Parcel Data in the MXD, I then published it as an ArcServer web service. There are 5 tables in the CAMA system I am pulling data from and that is why the query is so slow, when the user selects a street and searches it is querying the SQL CAMA tables live. I am going to eventually going to work out a different solution but that was a quick way to accomplish what I needed to do. The pictures took a little bit to figure out. I copied all the photos to our GIS webserver and put them in a virtual directory. In the assessors SQL table there was an image path column, but it was the UNC path. So then the user selects the row in the datagrid it runs a function that changes the \ to /, contructs the URL, removes any spaces in the string, and then loads the photo to an <mx:Image id="building" visible="false"/>. The users does not see the picture loading because the visibility is false, but when they click the get card button this line of code adds it to the PDF report myPDF.addImage(building,null,110,15,150,150,0,1,true,ImageFormat.JPG,100); The section of code I sent was commented at every level, anything with // in front of it was explaining what each step was for, but the whole report was custom for my application. I can send you my project but everything in the project is specific to the our system in Vernon, and may not work in your application, the project file is a little large and I would need your email. You said in the beginning that you were selecting a parcel and then were looking for a way to export that to PDF report. My suggestion would be to put the selected feature into a datagrid and then pull the data for the PDF report from the datagrid. Last time I looked at Robert's site he was not using AlivePDF to generate his report but doing it within Flex. He had posted the code for the report a while back, it might be in the old forum. I believe what he was doing was using a field from the selected feature to query a custom web service and then return the results into a Flex report. His method is much different than what I am doing, I do not have any experience writing custom webservices. Maybe he will chime in with a better solution
... View more
12-13-2011
04:29 AM
|
0
|
0
|
335
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|