WmsLayerInfo[] null.....

Discussion created by alu.23349 on Nov 29, 2013
Latest reply on Feb 27, 2014 by andreasbjerga
Hi friend. I an a student that I have discovered the ERSI SDK Runtime for Android recently. I am adding a WMS layer in my map how the sample ESRI.

When I try to get the WMSLayerinfo[] I receive a null object. It's empy¡¡

My code...

mMapView = (MapView)findViewById(;
String wmsURL = "";
WMSLayer wmsLayer = new WMSLayer(wmsURL);
String[] visibleLayers = {"0","1","2"};
WMSLayerInfo[] wmsLayerInfo = wmsLayer.getLayers();    <-------------- Here I have the problem.

Can you help me please??

Thanks, and sorry by my english.

Best Regards.