Reputation: 4723
The question is quite simple; How do I change the phonenumber of an android emulator?
Another topic has discussed the same issue, however, only a link to the documentation whas given. As far as I know, the refered piece of documentation does not describe how you could change the devices phone number.
Upvotes: 2
Views: 10142
Reputation: 66647
You need to enter android_id
(other phone ID) into providers table. Check this detecting an emulator, and getting around detection.
Here is another Android emulators with phone numbers? on this topic.
Upvotes: 1
Reputation: 722
Without recompiling, the port number that the emulator is running on controls the last 4 digits of the phone number. The first 7 digits can changed by editing the emulator-arm or emulator-x86 binaries in a hex editor.
More info here: http://vrt-blog.snort.org/2013/04/changing-imei-provider-model-and-phone.html
Upvotes: 0