Regarding change of incoming phone number

  • Replies:0
pratapkarn
  • Forum posts: 1

Mar 19, 2014, 1:20:30 PM via Website

Hi,

I am trying to change the displayed incoming number to my AVD when a call is made.
Presently i am able to display the mobile number using Toast on the screen.

I did changes in PhoneStateListener.java file, please find the change below:

public void onCallStateChanged(int state, String incomingNumber) {
incomingNumber="1111"+incomingNumber;
}

I am just adding a constant string to the number.

Jar file name is android-4.1.2_r1-sources.jar

But problem comes when i am trying to compile its giving error message, some class are not found, but classes are present in jar file.

Please let me know what to do in this case.

Thanks,
Pratap

— modified on Mar 19, 2014, 1:38:50 PM

Reply