I am doing one application in android for that I need to access com.android.internal.telephony APIs. Now I am able to access those APIs but problem is wherever I call the
You method
l = getConnections();
returns null, so your line 10 should look like: if (l==null) {
null
if (l==null) {