|
POST
|
Thanks Mike. If I get any news about developments in this area, I'll update this thread.
... View more
03-09-2017
08:36 AM
|
1
|
0
|
1280
|
|
POST
|
I understand it can be difficult to follow all the functionality... It seems to me that this is an older functionality, and probably not relevant to anyone starting to develop apps today (bear in mind, I'm not really familiar with this technology/product, someone else might know more though, and there may be reasons why you would use this today...). So the meaning of enabling mobile access was to allow ArcGIS Mobile apps to access data as a service, via SOAP and not REST (which things like ArcGIS Runtime will use - the MapServer and FeatureServer endpoints have supported REST access for many years). I believe however that there are still existing systems and users making use of ArcGIS Mobile (as systems and hardware dont always get updated unless there's a specific need). Here's some old links that I could find that explain ArcGIS Mobile - you can see it's older tech!: - ArcNews Fall 2006 Issue -- Introducing ArcGIS Mobile--Build and Deploy Mobile Applications Powered by ArcGIS Server - FAQ: What is ArcGIS Mobile? - https://www.esri.com/~/media/Files/Pdfs/library/brochures/pdfs/arcgis-for-mobile.pdf Hope this helps, Shelly
... View more
03-08-2017
07:26 AM
|
2
|
0
|
1070
|
|
POST
|
Interesting that you're subclassing your MapView. Was there a specific reason that you ruled out using a composition approach, instead of inheritance?
... View more
03-08-2017
06:47 AM
|
0
|
2
|
1280
|
|
POST
|
Hi Nathan - correct that ImageTiledLayer in the 100.0 release is not designed for extensibility. We're working on a solution for exactly the kind of pattern that you describe. Keep an eye on info coming out of the Developer Summit this week, as potentially there may be information on planned new functionality like this.
... View more
03-07-2017
02:12 AM
|
1
|
0
|
2175
|
|
POST
|
Hi Mike, Thanks for the additional details there, that does help. Currently there's no plans to support MapView extensiblility specifically, but I'll take your examples back to the team for discussion. We have plans to work on scalebar and compass functionality, although I realise that may not fit the app themes that you're working with, so would not necessarily help out there. (Actually, is there a reason that solutions such as adding Views to the MapView (as a ViewGroup) as shown in this sample Map Rotation | ArcGIS for Developers don't work for you? Or just doesn't fit the pattern you want to follow?). I'll come back and update the thread if there are any changes on this topic. Regards, Shelly
... View more
03-07-2017
02:02 AM
|
0
|
4
|
1280
|
|
POST
|
Hi Evelyn, I think you have the right idea with using ArcGISDynamicMapServiceLayer | ArcGIS Android 10.2.8 API (or alternatively for those using the current release, ArcGISMapImageLayer| arcgis-android ). As I understand this, you can turn on mobile data access for a map service, and that allows ArcGIS Mobile to access the data via SOAP. However, as the Runtime SDKs use newer technologies, and access map services directly, using REST, theres no need to use the mobile data access part of a map service to view this in ArcGIS Runtime SDK for Android. Perhaps this part of the help topic is helpful: Los servicios de datos móviles también tienen una exposición limitada por medio de REST con el fin de permitir su búsqueda en el Directorio de servicios de ArcGIS; sin embargo, no hay API REST para trabajar con el servicio de datos móviles en una aplicación cliente. Las API de ArcGIS para iOS, Android y Windows Phone pueden ver servicios de mapas a través de REST sin la función Acceso a datos móviles habilitada. Si desea habilitar la edición basada en REST de las entidades en estas aplicaciones, puede habilitar la función Acceso a entidades en el servicio de mapas. So if you have a MobileServer URL, just look for the corresponding MapServer service (e.g. on SampleServer6 you can see two endpoints for WindTurbines - one MapServer and one MobileServer), then use the MapServer URL to create an ArcGISDynamicMapServiceLayer. Hope this helps, Shelly
... View more
03-07-2017
01:59 AM
|
0
|
2
|
1070
|
|
POST
|
Hi Mahshid, I'm afraid this is not supported - as you've found, there's two native libraries in conflict here - the files have the same name and would need to live in the same location, but are different in content. Are you trying to migrate a project from 10.2.x to 100.0 perhaps? Regards Shelly
... View more
02-28-2017
02:02 AM
|
1
|
2
|
1313
|
|
POST
|
Hi Mahshid, Is your Polygon a Graphic or a Feature? Both can be selected, but you will need to know what you are trying to select. Here's one example of selecting Features from a FeatureLayer by performing a spatial query - selecting all features within a certain buffer distance of a point - Edit features—ArcGIS Runtime SDK for Android | ArcGIS for Developers . If you are working with Graphics, there is no equivalent method that will query and select graphics in a GraphicsOverlay. However, you can use the Graphic.setSelected method to select an individual Graphic. You can get a reference the Graphic that a user tapped on as shown in this sample - Identify Graphics Hittest—ArcGIS Runtime SDK for Android | ArcGIS for Developers - so you could just add the call to setSelected to that sample code to see how it works. Hope this helps, Shelly
... View more
02-20-2017
03:44 AM
|
1
|
0
|
1013
|
|
POST
|
Hi - MMPK files can contain operational layers that are made of features. So if you've loaded your MMPK and one of the ArcGISMaps it contains, then you should be able to do your search. If there's a specific layer you want to search on, using a specific query such as 'attribute=someValue', then first get the feature layer you want to search on in the OperationalLayers collection of the ArcGISMap. Then get the FeatureTable from the FeatureLayer, and then call queryFeaturesAsync, as shown in this sample - Feature layer query—ArcGIS Runtime SDK for Android | ArcGIS for Developers . Alternatively, if you want to search by allowing a user to tap on a MapView at a location and search for features in the ArcGISMap at that location, which might be in any layer in the map, you can use the identify methods. I don't think we yet have a sample for that, but it's described with a number of code snippets in the Guide topic Identify Features - for example you can identify against all features in all of the current feature layers in the map as shown in this section - Identify features—ArcGIS Runtime SDK for Android | ArcGIS for Developers . Hope this helps, Shelly
... View more
02-20-2017
03:35 AM
|
0
|
3
|
1036
|
|
POST
|
Hi Henrik - I'm assuming you have got your ImmutablePart from a Polyline? I can repro that bug as you described. If you get the ImmutablePart from a Polygon, then you should find that the ImmutablePart.getEndPoint is the same as the last Point from ImmutablePart.getPoint(i). (I just double-checked the Segments and in both cases I find Segment.StartPoint and SegmentEndPoint are returning the expected Points.) Thanks for finding and reporting this, I will enter this as an issue for us to address. Regards, Shelly
... View more
02-17-2017
02:17 AM
|
2
|
1
|
859
|
|
POST
|
Hi Ben, It looks like there's just a typo in your compile statement above - you should specify the full version number '100.0.0'. Hope this helps, Shelly
... View more
02-13-2017
08:15 AM
|
1
|
7
|
5742
|
|
POST
|
Hi Mike - we're actively working on this (ref https://community.esri.com/thread/188272-custom-tilesourcelayer-in-the-new-100-november-release ). I cant confirm an exact date for this, but it's definitely a high priority for us as we know it's important to a lot of our users. Shelly
... View more
02-10-2017
01:19 AM
|
0
|
0
|
431
|
|
POST
|
Hi Mike, This was much discussed within the team. We took the decision that for our architecture, we wanted to specifically design extensibility points, and make sure these worked well, and offered developers appropriate inheritance options that are documented and work effectively. For example, the DefaultMapOnTouchListener was internally architected to allow external developers to inherit effectively. For other classes, we knew that if developers extended them, this might cause problems. If this is restricting you from developing the solutions you need to, then please let us know what types you need to extend specifically, tell us about your workflows. We are currently working, for example, on extensible tiled image layers. You can let us know here on geonet, or on ArcGIS Ideas , or if you prefer get in touch via a private Geonet message and we'll take it from there. Regards Shelly
... View more
02-10-2017
01:18 AM
|
0
|
6
|
1280
|
|
POST
|
Hi Henrik, Although you can use the functionality built in to the Android Emulator to mock locations using a GPX file (Run Apps on the Android Emulator | Android Studio ), I don't think this sends through compass heading (bearing / course) or velocity (speed) information. So the recentering behaviour would work, but the map/symbol rotation aspects would not work. Looking at the emulator geo fix command, I don't think there's a way to script this sort of information for the emulator. If you can find a 3rd party mock location app in the Play Store that provides this information, then you could try to install the Google Play store on your emulator (you can find more info if you search on Stack Overflow for android emulator Play Store GAPPS), and install the location mock app. Alternatives would be to create a custom data source, as you suggest, and ensure that the locations are created to include the bearing and speed information you want. In some Runtime SDKs I think there is/was a built-in mock location provider, based on a standard platform technology. We don't have this for Android runtime SDK, 10.x or 100.0. It is something that has been suggested as an enhancement, but I don't know when/if that would be made available. Submitting this to ArcGIS Ideas would be a good way to note your interest in this feature. Regards Shelly
... View more
01-27-2017
04:20 AM
|
0
|
1
|
752
|
|
POST
|
Hi Pradeep, This is a good question. Some of the members of the enum were renamed at one of the beta releases, in order to be a better description of the behaviour. You can use RECENTER (see LocationDisplay.AutoPanMode| arcgis-android ). in order to recenter the map as the device location moves, or OFF to leave the map extent unaffected as location changes, in addition to the two modes suitable for moving devices - NAVIGATION and COMPASS_NAVIGATION. Hope this helps, Shelly
... View more
01-19-2017
02:13 AM
|
0
|
0
|
745
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-03-2024 10:08 AM | |
| 1 | 01-02-2024 08:09 AM | |
| 1 | 11-07-2023 01:44 AM | |
| 1 | 08-03-2018 03:54 AM | |
| 1 | 03-07-2017 02:12 AM |