Adding a layer to map .... use ArcGISDynamicMapServiceLayer with ArcGIS Server?

Discussion created by jakpen on Apr 3, 2014
Latest reply on Apr 17, 2014 by jakpen
I am trying any way possible to add my own layer on top of a basemap using the ArcGIS SDK with Eclipse for Android
The samples from ArcGIS, (i.e.. AddLayer and AttributeEditor) use  new ArcGISDynamicMapServiceLayer
I have access to an ArcGIS server through my organization and have tried every way to upload my layer there which is hosed in "my content" and made public
Every time I add the url to the code however, it never displays....
I am wondering if maybe it is because I need a password to access my organization's ArcGIS server?
Can I program that in there somehow to make it work??

I have also tried to create a new map service from ArcGIS desktop, and have added my user name and password there, but that isn't working either :(
Whether, via the dynamic service layer from my organization's arcGIS server, or any other way possible, .kml maybe?, is there any way at all that I can load my own data layer on top of a basemap in the Android application I am creating??
Thank-You So much for any help at all!!!