map.addLayer in helloworld sample Failed to pull samples from android eclipse

12-24-2014 06:23 AM
New Contributor

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("" +

        "")); from

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

0 Kudos
2 Replies
Regular Contributor II

What kind of error are you getting when trying to run the Hello World sample?

0 Kudos
Occasional Contributor III

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


// to


0 Kudos