How do I add ITelephony.aidl to eclipse?

前端 未结 3 360
迷失自我
迷失自我 2020-12-17 06:48

This is no doubt a very simple question, but unfortunately I have looked around and haven\'t found a solution.

I would like to import ITelephony.aidl so that I can

相关标签:
3条回答
  • 2020-12-17 07:17
    1. Download the ITelephony.java file from here
    2. Create the folder structure src/com/android/internal/telephony and copy the above ITelephony.java file into this folder.
    3. Now import the com.android.internal.telephony.ITelephony class into your project.

    Cheers!!! Chanaka

    0 讨论(0)
  • 2020-12-17 07:26

    It is not a public API you have to include it yourself from here. For further reference check this answer.

    0 讨论(0)
  • 2020-12-17 07:34

    You can download ITelephony.aidl from here and Create com/android/internal/telephony package in your project src and copy past downloaded ITelephony.AIDL with in com/android/internal/telephony in your package as
    ITelephony.AIDL

    for more information Blocking Incoming call

    0 讨论(0)
提交回复
热议问题