Tasks for offline layers?

Discussion created by jonesra on Jun 2, 2011
Latest reply on Feb 11, 2015 by DGoyal-esristaff
We need our app to function offline, so I've employed OfflineTiledLayer and OnlineOfflineFeatureLayer from here.
The feature layers display properly in each mode, however any Tasks (IdentifyTask, QueryTask, etc) require a Url (which means it must be online for it to work). I've tested this and just get an error connecting to the server.
I was using the IdentifyTask demo logic (which worked great) until I took away the internet.

Replacing the IdentifyTask logic with didClickAtPoint, and parsing the graphics collection works offline AND online, but the tolerance is too great (fat finger effect).
Also, we would like to be able to use QueryTask, Routing in the future.

Is there something I'm missing in the library or the above classes that would make this work?