Can I run identifytask on local shapefile. If so, what should be passed as URI to IdentifyTask? Refer https://developers.arcgis.com/java/guide/identify-features-on-the-map.htm
In ArcGIS Runtime 10.2.4 Runtime for Java, for dynamic map service, URI is being passed with getURI to IdentfyTask. For local shapefile, what should be passed to IdentifyTask instead of layer.getURI?