how to check mobile in Mute And Offline mode in android?
<p>Hi all i need to check phone mode whether it is in Mute mode or Offline mode .</p>

<p>My task is if phone in mute state then i have to do task1</p>

<p>if phone in offline state then i have to do task2 </p>

<p>so how we can check how to check mute or offline mode?</p>

<p>thanks in advance</p>
