From: jrasania on
On Oct 3, 9:28 pm, Skiler <sklyar.and...(a)gmail.com> wrote:
> u can try to with line.
> if u can open the line, then your phone is on.
>
> lineNegotiateAPIVersion
> lineGetDevCaps
> lineNegotiateExtVersion
> (lineOpen == true) if yes -> you have opened line and pnone on :)
>
> it is the just the idea, source have to be much more complicated!


lineOpen returns success irrespective phone (radio) is on / off.

If you gets failure in retrieving IMSI number means SIM is not
inserted or Phone (Radio) is off.