In ArcGIS Mobile 10 there was a method called
GpsAveragingCollectionMethod
which took a feature object. When it was used I had my application show the edit attributes dialog and immediately transition to the GpsAveraging collection page which worked really well. At 3.1 this has been marked as obsolete and it takes a Geometry object as well.
In 3.1 the standard workflow is now to collect attributes, click on the location group which transitions the user to a Map Page where the user must divine which button to push to get to averaging. The system does not count up any longer either which is unfortunate. The user must then go back to Edit Attributes and then click save, all very convoluted.
In code then, if I want to get back to the old flow of my custom application of Edit Attributes ??? Collect Geometry ??? Save ??? Pick new Feature ??? Edit Attributes ??? Collect Geometry, etc I cannot seem to use the GpsAveragingCollectionMethod. If I use the new tools,
GpsVertexCollectionMethod and pass in a new ESRI.ArcGIS.Mobile.Geometries.Point() as g and run the code the system never goes to the averaging page when I state .StartGeometryCollection(g)
GpsVertexCollectionMethod vgam = new GpsVertexCollectionMethod();
Geometry g = new ESRI.ArcGIS.Mobile.Geometries.Point();
vgam.StartGeometryCollection(g)
If I then deduce that maybe a page is required I use
GpsVertexCollectionMapPage gpg = new GpsVertexCollectionMapPage(); This doesn???t work as it states I need to have a ???GpsVertexCollectionMethod collectionMethod??? in the constructor
so, I then state
GpsVertexCollectionMapPage gpg = new GpsVertexCollectionMapPage(vgam);
The development environment then states that the ESRI.ArcGIS.Mobile.Client.GeometryCollectionMethods.GpsVertexCollectionMapPage does not contain a constructor that takes ???1??? arguments. And yet if I have nothing it tells me that I require a single constructor. Though the API documentation does not state this.
So, bottom line, how do I
1. Create an Edit Page ??? which I can do
2. Navigate to a GPS Averaging Page with a start button
3. Navigate to my Finish Options page
All of which worked very well in 10 and now seems to have fallen apart in 3.1
Thanks,