I am developing a mobile arcgis application I want to store data locally so that when a user is offline he/she can use the maps. I want to store tile layers,feature layers and a table data.
Any sample code appreciated
Platform : ArcGIS java script API and HTML5
Best Answer
As @Sunil notes: for the tiles part, see the Tiles in local storage developer sample and for the feature layers see Local storage - experimental. Each sample is complete, in the sense that they're working demos, you'll still need to modify to suit your local circumstances.