Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i need to create android app which are in online and offline status

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to create android app which runs in online as well as offline mode.So how can i change the modes between?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "change the mode"? Wouldn't that be determined simply by whether the device has connectivity or not?

Or do you want to put a switch into the app that lets you avoid all network connectivity? It would be easy enough to add a boolean preference that is checked before any network activity is started.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic