POST
|
Hi Zwaap, sorry for the late reply (off on Lunar New Year week). Thanks for the updating the sample with permission granting. Unfortunately, the error is still occurring (app freeze/crash) after toggling a few times. I have attached logs from logcat the ANR trace logs. I hope some insights can be found from them.
... View more
02-10-2019
07:26 PM
|
0
|
0
|
1227
|
POST
|
The app will use the map view's location display to show own location. On enabling location display, if the user switches between 2 fragments (map & some other fragment) multiple times, the app will crash. Just before the app crashes, opening the drawer will be sluggish and then eventually crash. Disabling the location display however will not crash the app with fast response on drawer interaction. I have a limited number of devices only and the crash seem to affect Samsung devices running Oreo. Attached is a sample app replicating this. Try commenting/uncommenting line 72 & 93 of MapFragment.cs file. The device used are: Samsung S8+ Oreo 8.0, Samung Experience 9 ArcGIS Runtime, v100.4.0 VS 2017 Professional, v15.9.4 Xamarin android SDK, v9.1.4.2 Xamarin, v4.12.3.77
... View more
01-22-2019
10:14 PM
|
0
|
5
|
1714
|
POST
|
Version: ArcGIS Runtime.WPF 100.2.1 Network analyst error code 5024 - Network Analyst No path found between stops exception (ArcGIS Runtime WPF error codes). Actual error code returned (C# Net) - Network analyst error code 5022 I am experiencing this minor issue where the actual returned code in the program is 5022 which is different from the documented guide.
... View more
05-18-2018
12:07 AM
|
0
|
1
|
514
|
POST
|
Our dev team is also expriencing this same issue. However, the problem root we trace to may or may not be an issue with ESRI's library. So this is just the findings that we got. Hardware: Laptop, HP Elitebook 840 2015 connected to 2 external monitor via displayport 1.2 and VGA ports (Extended display mode) ESRI runtime: 10.2.7 & 100.1 We have 2 simple .net solutions to display a map only with any basemap. Test 1 1) On startup, the map window is moved to the VGA monitor 2) The VGA port is unplugged from the monitor 3) The map window redraws and is displayed on the main display (laptop) 4) The VGA port is plugged back in and the map window is redrawn again but remains in the main display No exception is encountered. Test 2 1) The VS solution is restarted and on map window loaded, it is moved to the displayport monitor 2) The displayport is unplugged 3) The exception is encountered Update (new findings) Failure conditions: On windows, the main display must be set to the external monitor. On application startup, the map should open on the main display It does not matter what connection interface is used to connect from machine to monitor as long as when unplugging, the map under goes a change in size/resolution (eg. 2 screens with different resolutions). Test 1 Using VGA interface and external monitor as main display, run either sample solutions After loading, disconnect VGA cable Exception should appear Test 2 Using display port interface and external monitor as main display, run either sample solutions After loading, disconnect display port cable Exception should appear Attached are the sample solutions used.
... View more
11-06-2017
06:08 PM
|
0
|
0
|
902
|
POST
|
On zooming in, there is no change in performance. The map loads equally as slow as if trying to always render all 200k map points. I have checked that the shapefile does have a spatial index (.shx) file (just not sure if really loaded). I have set the min & max scale, simple symbology and intentionally set a definition expression to show only 1 point but no effect on performance. FeatureLayer flayer = new FeatureLayer(shapefile) { ID = LayerID, DisplayName = path, Opacity = 0.6, Renderer = new SimpleRenderer { Symbol = new SimpleMarkerSymbol { Color = Colors.CornflowerBlue, Size = 12, Outline = new SimpleLineSymbol { Color = Colors.Black, Width = 1 } } }, MaxScale = 400, MinScale = 100000000, DefinitionExpression = "ID = 17020001003930", };
... View more
10-11-2017
05:20 PM
|
0
|
2
|
982
|
POST
|
I am looking at the v10.2.7 runtime guide to load a featurelayer from a large shapefile. My shapefile is huge with 200k point entries. I find the loading and the map panning/zooming to be slow (can be considered unusable). How can I improve the feature layer's performance? How can a shapefile spatial index be utilized (is it loaded together when calling "ShapefileTable.OpenAsync(path);")?
... View more
10-11-2017
02:36 AM
|
0
|
5
|
1235
|
POST
|
Q: Which device make and model are you using? Huawei: OS 5.1 Samsung S6: OS 6.0.1 Which basemap are you using? OpenStreetMap, Arcgis tiled layer Can you reproduce with just a mapview and a map? (meaning simplest reproducible case) Nope. Only with a navigation menu. My findings: I have found the root cause in my solution. I have managed to pinpoint the cause to the use of Xamarin support libraries, version 23.1.1.0. I am building to support up to API 23 only. When using support libraries version 23.4.0.1 (latest libraries for API 23), the map is not flickering. My app: Using ver 23.1.1.0, when building a simplest possible solution with only mapview, there is no flicker. It is only when I integrate the map with a navigation menu/drawer that the flicker is happening.
... View more
10-03-2017
02:33 AM
|
0
|
1
|
789
|
POST
|
I am experiencing a similar issue where on map panning, the map will flicker between the above screenshot 1 & 2. The devices I tested on were running android 5.1, 6.0.1 and 7.0. Only OS 7.0, nougat, does NOT have this issue. Using runtime SDK for android v100.1.0.0.
... View more
09-27-2017
12:47 AM
|
0
|
3
|
789
|
POST
|
Hi I have just created an an application on visual studio 2015 using v100 runtime for .Net on Android platform. After testing, the source code for the application will be checked into Team Foundation Server (TFS) where it will create a release APK build. After building and installing the APK on my android mobile device, I find that the map fragment is not loading the map (black background only). I have checked that the ESRI runtime DLLs have been added to the TFS and the project is referencing the file correctly. Does ESRI require any license to build a release APK? Does TFS require any configuration? What is the likely problem?
... View more
02-12-2017
09:14 PM
|
0
|
0
|
1199
|
POST
|
No, I haven't been able to figure this out. Anyway, I have since moved away from using ArcGIS locators long ago so I doubt I even remember how to create the locators.
... View more
02-12-2017
07:25 PM
|
0
|
0
|
532
|
POST
|
I have found the solution to this. Apparently MapView.GeoViewTapped event was the event I was supposed to be using.
... View more
12-14-2016
11:05 PM
|
1
|
0
|
383
|
POST
|
Hi I am running VS 2015 and using ArcGIS runtime v100.0.0.0 to build an Android app. I have defined a view where the MapView is defined in. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent"> <Esri.ArcGISRuntime.UI.MapView android:id="@+id/mapView" android:layout_width="fill_parent" android:layout_height="fill_parent" /> <LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" .......... The app can be compiled and run on an android device. When I am viewing the map and attempt to view previous fragment by pressing BACK button, I get the following exceptions: "System.MissingMethodException: No constructor found for Esri.ArcGISRuntime.UI.Controls.MapView::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)" "System.NotSupportedException: Unable to activate instance of type Esri.ArcGISRuntime.UI.Controls.MapView from native handle 0xffb30d9c (key_handle 0x7143f8f)." The exception is originating from my main activity, "base.OnBackPressed();", statement. Please advise.
... View more
12-14-2016
11:02 PM
|
0
|
0
|
462
|
POST
|
IDE: Visual Studio 2015 ArcGIS Runtime version: ArcGIS Runtime SDK for .NET - Xamarin.Android, v100.0.0.0 (release) I was attempting to add event handlers to the Click event to the Esri.ArcGISRuntime.UI.Controls.MapView control. The events were defined in my OnCreateView lifecycle event of my fragment. Running the android app, I find that the MapView's Click event wasn't triggered at all (neither is Touch event). I tried creating a new ArcGIS android solution, and only adding events to both the Click and Touch event handlers and still got no response. The events were added in OnCreate lifecycle event though. Is this considered a bug? How should the event handled be correctly? What alternatives is there to implement a click function on the MapView?
... View more
12-12-2016
01:17 AM
|
0
|
1
|
1763
|
POST
|
Hi I am attempting to load a local network dataset on an Android device to do routing with Xamarin. The geodatabase file and the respective folder is placed in the "Download" folder and read from there. On loading and creating a route task, an error is thrown and I got a stack trace which can be found in the attached text file. Now I could not make out anything from the stack trace but I hope to be enlightened on the possible cause of error. The network dataset runtime content was generated in ArcMap 10.2.2. Code used: var geodatabase = @"/storage/emulated/0/Download/Routing/Van.geodatabase"; var isFileFound = File.Exists(geodatabase); // true var routeTask = await RouteTask.CreateAsync(geodatabase, "Van"); // Error occurred here
... View more
07-27-2016
06:19 PM
|
0
|
0
|
1143
|
Title | Kudos | Posted |
---|---|---|
1 | 12-14-2016 11:05 PM |