ii was trying to run the arcgis helloworld sample on an android device but for some reason my system is having a hard time accessing
map.addLayer(new ArcGISTiledMapServiceLayer("" +
"http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer")); from arcgisonline.com.
so can there be any way that i can run my project with out the need of accessing arcgisonline.i wanted to store my map locally
You can learn about creating offline maps here. But as Eric Bader says, what is the error you are getting. And what are you trying to do? The HelloWorld sample loads it's basemap from XML. If you just want to use the Street Map instead of the Topo map as a basemap you can make the following change to the XML file I referenced:
// change the following