Hi Desmanto,
It's possible to show phone number when SIM card changed? After usage of SIM State trigger how to do this? Thanks.
On SIM changed
Moderator: Martin
Re: On SIM changed
I can't find any built-in function in Automagic to detect the number in the SIM card. I wanna know too if there is. Maybe someone who understand java can show us how.
Usually we are the one who should supply the number to the OS, not retrieve from the SIM. But some carriers may have free service number which can be used to check various info, including the current number. Maybe can use that to check the phone number. Call the service number and retrieve the UI element from the response and parse the phone number from there.
Usually we are the one who should supply the number to the OS, not retrieve from the SIM. But some carriers may have free service number which can be used to check various info, including the current number. Maybe can use that to check the phone number. Call the service number and retrieve the UI element from the response and parse the phone number from there.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.