How to make HTTP request to get layer structure in json from secured FeatureLayer ?

Discussion created by eraser01 on Feb 26, 2013
Sorry for my english

I have to develop android application to request for FeatureLayer structure in json format like this

anyway in secured FeatureLayer I need token to access any information but I only have user and password

how can I get token from my secured FeatureLayer or request information with user and password ?

In ArcGIS API for iOS using dataForURL method from AGSRequest by sending url, user and password

have ArcGIS API for Android have equivalent method for dataForURL ?