I have written a code to check whether the phone is currently online or not. But my question is do i need to check whether the phone is in offline mode in every time a new activity is called? if yes then what is the better way to code that?I have written a code to check whether the phon