Hi,
I have a feature service on ArcGIS for Server which I query in my Android app (using ArcGIS for Android 100.0.0).
The feature service contains subtypes. When I select a feature, I want to display the subtype name in a popup window, but so far I only managed to get the subtype number (coded value), not the name.
Is it possible to get the subtype name in Android?
Thanks!
I believe this may be what you are looking for:
Thanks, but this only works for domains, not for subtypes, or am I missing something?
Field subtype = getFeatureTable().getField("subtype");
Domain domain = subtype.getDomain();
returns null because I don't have a domain, just the subtype.
That seems to be it. If I get some time today, I will test this further and try to discuss with my colleagues.