pratapkarn
- Forum posts: 1
Mar 19, 2014, 1:20:30 PM via Website
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
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
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.