i'm using ArcGIS SDK 100.0.0 for Android.
I found some guide to access to private layer but only with the old version.
I need to show a private layer using the last version 100.0.0.
This is my simple code:
private static final String CVWLayersTEST = "https://XXXX/arcgis/rest/services/XXX/XXX/FeatureServer/0";
mMapView = (MapView) findViewById(R.id.mapView);
ArcGISMap map = new ArcGISMap(Basemap.Type.TOPOGRAPHIC, 34.056295, -117.195800, 1);
mServiceFeatureTable = new ServiceFeatureTable(CVWLayersTEST);
mStreetsLayer = new FeatureLayer(mServiceFeatureTable);
Ih the layer is public the application shows the layer.
If the application is private the system doesn't show nothing because need a credential.
How ca i pass the credential in my code?
Some example found on forum use different classes used in the Old version about SDK.
Thanks in Advance.