Yes ! You got it working rightBah sorry guys, it seems I still haven't woken up. I think I got it right this time, can you try it?
Thanks a lot for your work OXINARF !
Yes ! You got it working rightBah sorry guys, it seems I still haven't woken up. I think I got it right this time, can you try it?
I've done the same thing... So I don't understand why you have posted your version AFTER my post, please remove it.I just fixed it, casting to Context instead of Application
Thanks for testing it, it's been added to first post.Yes ! You got it working right
Thanks a lot for your work OXINARF !
Please look if there are any errors in /data/xposed/debug.log and if yes post it here.not working with 4.2.2 message activate xpossed module and restart phone
but i do so many times?
yes i find debug log i post it here>...Please look if there are any errors in /data/xposed/debug.log and if yes post it here.
I've checked the log and there are no errors concerning this app. What I see is that the number is being written (at one time it says that actual number is correct) but something is changing it back to null. Are you writing your actual number? I can only think that your operator is telling your phone to make phone number null.yes i find debug log i post it here>...
i add zip plz extract it.
It's always good when my work is useful to others, thanks for sharing your experience.Very nice work!! i was searching for something similar and i found your app!
this is really usefull if you do Mobile Number Portability from an operator to another, in the new SIM it's probably a temporary number stored in (or maybe empty field), with this you can write in your REAL number so many apps (like Whatsapp or Hangout) can read it correctly!
my case, i switched from Vodafone to TIM, old number was a 347xxx but when they changed my old Vodafone SIM with a new TIM SIM the phone recognized a 339xxx number.. with this app i rewrote back my 347xxx on the new SIM and it went better than excepted!
Thanks a lot man!
Great that it worked.Confirmed working on my Nexus 4 with a WIND sim card. Please update the first post with the latest version, I was about to give up after trying the first version. :good:
Have you read the thread? I don't know how to explain it in a different way. Uses? Well, if you read the thread you found people telling for what they used it.Whats the use then... i didnt get it...
Sent from my GT-I9500 using xda premium
You're right, it's not usual, but it can return null. I'll correct it tomorrow and then I'll ask you to remove your version.Not sure if anyone else was having trouble with this, i was. Downloaded the source and fixed one bug which happens when the user of the applications sim card has no # at all. Marked as "UNKNOWN" in Settings/About/Status/Phone Number. This is why i wanted this app to add my number to my sim card. The fix was simple.
if(!phone.isEmpty() && !phone.trim().equals("")) {
to
if(phone!=null && !phone.isEmpty() && !phone.trim().equals("")) {
Awesome work by the developer, after this little change application worked perfectly. APK attached for anyone interested. Please take note this is a snapshot build, may contain bugs ect i have no idea. You have been warned lol.
Of course, just give the word and ill take it down.You're right, it's not usual, but it can return null. I'll correct it tomorrow and then I'll ask you to remove your version.
As a side note, it's a little worrying to see comments like this in Android source: "get it each time because that process crashes a lot".
I've updated first post with latest version so please remove your version. Thank you.Of course, just give the word and ill take it down.
:|, as big and as fast as android is grown its sadly not that surprising, but i agree it is worry-some. If i may what code/process are you referring to?
wow, ive never seen so many comments talking of crashing...I've updated first post with latest version so please remove your version. Thank you.
Well I want to search why it would return null and I found that comment: http://grepcode.com/file/repository.../android/telephony/TelephonyManager.java#1032