Download the source code
This is a sample to retrieve the APN and IP address using Radio Interface Layer. The API RIL_GetGPRSContextList is used to retrieve the GPRS context information. The API will return the data in RILGPRSCONTEXT. The sample retrieves the APN and IP address and displays in an edit box.