Turn on/off gprs code
<p>Hi i am working on an application that need to turn on/off the gprs via code.
I am using this methord to check if connection is On/Off. But i have no idea how to turn on gprs if it is off</p>

<p>code</p>

<pre><code>NetworkInfo i = conMgr.getActiveNetworkInfo();
  if (i == null)
    return false;
  if (!i.isConnected())
    return false;
  if (!i.isAvailable())
    return false;
  return true;
</code></pre>
