So first of all, my environment. I did not specify the localtiledlayer in my xaml markup because I have some underlying logic on how to best distinguish where my .tpk package will be sourced from. So I am explicitly setting the tiledlayer in a viewmodel sitting in C# code (don't know if this has any performance factors)
What really boggles me is that the same .tpk package, when the source tpk is coming from a local file, has better performance on an android (with lesser hardware specs) than my native .net application running on a tablet. And i'm not referring to loading speed, which isn't a concern. There is distinct lagginess and choppy frames when I move the map on my .net application.
Both interfaces are using touch interfaces.
So my question is if there are any reasons for this? Any tips and tricks to get my .net application to perform better? Is the fact that windows is intercepting my touch events causing a lag on the application? Or is this something related to my arcgis app? Graphically, I'm only drawing 60 points.
Advice?
Solved! Go to Solution.
Hi Paul,
Well the Android phone does is lower specced on paper but it is hard to compare them directly. Note that the CPU of your windows tablet does not meet our minimum recommended spec: System requirements—ArcGIS Runtime SDK for .NET | ArcGIS for Developers. It is also worth checking for any graphics driver updates for your tablet.
Regarding your app, when you say touch events, are you listening for any additional events framework events or API events such as MapView.ExtentChanged? Are you doing anything to the 60 graphics, such as updating their geometry very frequently?
Cheers
Mike
Hi Paul,
What are the specs of your devices?
Cheers
Mike
Hi Michael,
The .net application is running on a 10" tablet with these specs:
Screen Size | 10.1 inches |
Screen Resolution | 1366 x 768 |
Max Screen Resolution | 1366 x 768 pixels |
Processor | 1.8 GHz Atom Z2760 |
RAM | 2 GB DDR3 |
Memory Speed | 800 MHz |
Hard Drive | 64 GB |
Graphics Coprocessor | Intel® Graphics Media Accelerator |
The android phone I was using was a typical Galaxy S3 phone:
Hi Paul,
Well the Android phone does is lower specced on paper but it is hard to compare them directly. Note that the CPU of your windows tablet does not meet our minimum recommended spec: System requirements—ArcGIS Runtime SDK for .NET | ArcGIS for Developers. It is also worth checking for any graphics driver updates for your tablet.
Regarding your app, when you say touch events, are you listening for any additional events framework events or API events such as MapView.ExtentChanged? Are you doing anything to the 60 graphics, such as updating their geometry very frequently?
Cheers
Mike
Also make sure that you are running Release mode instead of Debug.
Hi Michael,
Thanks for your prompt responses. I didn't realize my hardware didn't meet the minimum specifications. Well I guess FYI, it at least runs! (just not optimally).
Also, I am hooking into the WPF touch events, but only in a certain view/viewmodel that don't have any esri components on it. As for the 60 points, they're on a graphics layer. I'm having a bit of a hard time trying to distinguish how to set my graphics to be drawn dynamically as opposed to statically (don't know if there's actually a difference). But this is probably better reserved for another thread if I can't dig deep enough.
Thanks for the help!