This tutorial describes how to get the simple data line status with the telephony API for applications.
CTelephony* telephony = CTelephony::NewLC(); CTelephony::TCallStatusV1 callStatusV1; CTelephony::TCallStatusV1Pckg callStatusV1Pckg( callStatusV1 ); CTelephony::TPhoneLine line = CTelephony::EDataLine; telephony->GetLineStatus( line, callStatusV1Pckg ); CTelephony::TCallStatus dataLineStatus = callStatusV1.iStatus; CleanupStack::PopAndDestroy( telephony );