|
POST
|
If you need a mobile solution, especially for multiple platforms, and you are familiar with C#, I think you'll find the Xamarin API a good fit for your project. I've been working with it since the early adopter program and it has been quite easy to work with, and it's nice to see the continued increase in the functionality that it includes (v100.1 just released). Development is made easy, but don't let that fool you into believing everything about deploying a mobile solution is easy, especially if you want to target multiple platforms. Go for it, I think you'll enjoy it. Hit up the forums again if you have questions or trouble when you get going..
... View more
06-30-2017
03:28 AM
|
0
|
2
|
1000
|
|
POST
|
I've not used Pro, but I have seen this forum that others have been having issues. Using ArcMap is what I used and I've been able to get that code to work and successfully store a Guid. So when you are trying to save the GUID, is it directly to the online service, or to a local SQLite database? Have you tried to edit one of these features in AGOL or Portal? Wonder if that would work/fail and/or give you a better message.
... View more
06-29-2017
01:19 PM
|
0
|
1
|
2540
|
|
POST
|
Haven't ever seen those error messages. Couple of things: - Did you try the code using a new guid? - Can you confirm the field type for DeviceID is an esriFieldTypeGUID? - Did you publish the services with ArcMap or ArcGIS Pro? I've seen some posting on different results based on the method the services were published. - Are you working online or offline, or both? If only online, do you get the same, or different (possibly more helpful) message when working offline. That's all that comes to mind right now.
... View more
06-29-2017
12:47 PM
|
0
|
3
|
2540
|
|
POST
|
Here is some sample code that works for me in v100. feature is an ArcGISFeature. After this, you can then use FeatureTable.AddFeatureAsync() and ServiceFeatureTable.ApplyEditsAsync() as required. Hope this helps. //Create a new Guid and get the field from the table
var guid = Guid.NewGuid ();
var guidFld = feature.FeatureTable.Fields.FirstOrDefault (f => f.Name == fieldName.Trim());
//Make sure the field is found, editable, and then set the value
if (guidFld != null) {
if (guidFld.IsEditable)
feature.SetAttributeValue (fieldName.Trim (), guid);
}
... View more
06-29-2017
10:43 AM
|
0
|
5
|
2540
|
|
POST
|
Works in v100. Or, try https://marketplace.arcgis.com/listing.html?id=9c9ddae83e5549bb88a2c22e87a18ba1
... View more
06-29-2017
03:26 AM
|
0
|
0
|
1791
|
|
POST
|
We have a bundle which is 75 Mb and successfully publishes through the AppStore. Not an expert at this, but maybe its the Linker? Here are the settings we use for our build (Xamarin Studio).
... View more
06-21-2017
03:42 AM
|
0
|
0
|
1530
|
|
POST
|
I don't see a way to get the "pretty" version without using a converter. Also, I don't see anything that will convert to UTM, are you using v. 100? You could try GeometryEngine.Project Method
... View more
06-20-2017
12:21 PM
|
0
|
1
|
1595
|
|
POST
|
If you use the tap or holding event on the map, it would be something like: //Get the map point in WGS84 var holdPt = new MapPoint (e.Location.X, e.Location.Y, EsriMapView.SpatialReference); var mapPt = (MapPoint)GeometryEngine.Project (holdPt, SpatialReferences.Wgs84);
... View more
06-20-2017
12:16 PM
|
0
|
1
|
1499
|
|
POST
|
Could try something like, where _centerPt is the map point project to WGS84: _centerPt = (MapPoint)GeometryEngine.Project (mapPt, SpatialReferences.Wgs84); //Convert the X
int xdeg;
int xmin;
int xsec;
ConvertDecimalToDegMinSec (_centerPt.X, out xdeg, out xmin, out xsec);
//Convert the Y
int ydeg;
int ymin;
int ysec;
ConvertDecimalToDegMinSec (_centerPt.Y, out ydeg, out ymin, out ysec);
//Check for -
string ns = "N";
if (ydeg < 0)
ns = "S";
string we = "E";
if (xdeg < 0)
we = "W";
//Set the string
coordString = "Latitude: " + Math.Abs (ydeg) + "° " + ymin + "′ " + ysec + "″ " + ns;
coordString += "\nLongitude: " + Math.Abs (xdeg) + "° " + xmin + "′ " + xsec + "″ " + we; /// <summary>
/// Converts the decimal to degrees minutes seconds.
/// </summary>
/// <returns>The decimal to deg minimum sec.</returns>
/// <param name="value">Value.</param>
/// <param name="deg">Deg.</param>
/// <param name="min">Minimum.</param>
/// <param name="sec">Sec.</param>
private double ConvertDecimalToDegMinSec(double value, out int deg, out int min, out int sec)
{
deg = (int)value;
value = Math.Abs(value - deg);
min = (int)(value * 60);
value = value - (double)min / 60;
sec = (int)(value * 3600);
value = value - (double)sec / 3600;
return value;
}
... View more
06-20-2017
07:32 AM
|
1
|
1
|
1595
|
|
POST
|
1=1 is a true where clause which will result in all records being returned.
... View more
06-20-2017
03:54 AM
|
0
|
1
|
951
|
|
POST
|
I've seen this issue as well and it seems related to the backend system that is being used. For example, the code worked when using on ArcGIS Online services, but when hitting client ArcGIS Server feature services, the error would occur. Same data, same code, different environments. Only difference I tracked as that the backend system of the client was Oracle. Ended up having to just remove those parameters, but surely would be nice to figure out the issue. The client services I access are private which is why I didn't purse it any further since I don't have data to share which can reproduce the issue.
... View more
06-13-2017
04:45 PM
|
0
|
0
|
2079
|
|
POST
|
Are those fields used for labeling or a definition expression? The fields may not be loaded, you could try to add the code below before you add the layer to the map. if (ftrLayer.LoadStatus != Esri.ArcGISRuntime.LoadStatus.Loaded)
await ftrLayer.LoadAsync();
... View more
04-18-2017
08:40 AM
|
0
|
0
|
1134
|
|
POST
|
Try the Item property. ArcGIS Runtime SDK for .NET - WPF API Reference | ArcGIS for Developers
... View more
04-07-2017
03:32 AM
|
1
|
0
|
882
|
|
POST
|
I've been watching this thread and similar to monitor things as we have long thought there is a significant difference between the Android vs. iOS (and even UWP) rendering. iOS seems the best, UWP next, then Android. We have delivered apps that are installed on multiple Android devices running different versions of Android and the general rendering, particularly of the base maps seems much slower. These are apps loaded from an APK, so there is definitely not a debugger attached. In some cases, we struggled because clients were using AirWatch/VMWare tunneling, but with or without the tunneling, the rendering seems slower. Anything we can do to help, let me know. We have an APK version and AdHoc/TestFlight version we could share for your review and testing. Although it should be pretty simple to create a test app to use for analysis on the different platforms.
... View more
04-06-2017
06:13 PM
|
0
|
0
|
2889
|
|
POST
|
Good to know. Excellent info, thanks so much for the assistance!!
... View more
04-06-2017
10:24 AM
|
0
|
0
|
2330
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-20-2017 11:09 AM | |
| 1 | 09-22-2017 10:32 AM | |
| 1 | 06-20-2017 07:32 AM | |
| 1 | 04-07-2017 03:32 AM | |
| 3 | 12-19-2019 12:58 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-11-2025
09:48 AM
|