Where to copy ITelephony.java in android studio and how to import it? Please don't close this without answering -


i have looked @ other questions similar mine. not find help. have copied itelephony.java com/android/internal/telephony. when tried use same says "cannot resolve symbol itelephony".

private itelephony telephonyservice; 

can 1 please point me in right direction. appreciated.

create package under java folder

com.android.internal.telephony 

and copy itelephone interface in package

package com.android.internal.telephony;   public interface itelephony {      boolean endcall();      void answerringingcall();      void silenceringer(); } 

Comments