Search code examples
androidtelephony

I can't import com.android.internal.telephony.ITelephony


Every time I try to import it, it gives me this error:

The import com.android.internal.telephony.ITelephony cannot be reselved.

It may seem like a novice question but I am really stumped and I cannot find any other answers.


Solution

  • That's not a public class which is exposed as part of the SDK. Only internal platform apps/services/framework can include or use that class.