Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


netspanner

343 posts

Ultimate Geek


#102700 20-May-2012 10:31
Send private message

I am writing an Android program that reads the incoming sms number and returns the contact name from the internal contacts DB and speaks out something like "Incoming text from John".

Unfortunately I hit a snag as my wife's phone has started sending texts from 64271234567 instead of the usual 0271234567, other phones also seem to have multiple numbers like this.

Is there a way on the phone to turn it off? She has a samsung galaxy S2.

Cheers

Create new topic
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #627884 20-May-2012 10:48
Send private message

I'm a little confused by what you're actually after but SMS's are always sent in E164 format by the network. This isn't anything you can change in the phone.



netspanner

343 posts

Ultimate Geek


  #627912 20-May-2012 12:30
Send private message

Oh I guess it just strips the 64 out before it reaches the contacts list itself. I must be seeing the number that I have typed in myself = 027 in teh contacts list but it sends the 64 when sending a message.

Thanks

coffeebaron
6231 posts

Uber Geek

Trusted
Lifetime subscriber

  #627933 20-May-2012 14:09
Send private message

Some phones will only match on the last six or so digits. So whether its in +64 or 02x does not matter. Chances of having more than one number with same last 6 or so digits = very slim.




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer - one month free: https://www.starlink.com/?referral=RC-32845-88860-71 
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com




richms
28172 posts

Uber Geek

Trusted
Lifetime subscriber

  #628045 20-May-2012 20:12
Send private message

Sort your phonebook out so they are all in +64 format and it shouldnt be a problem anymore?




Richard rich.ms

ajobbins
5052 posts

Uber Geek

Trusted

  #628047 20-May-2012 20:18
Send private message

I store everything in + E164 format in my phone anyway.

That way when you are overseas and either roaming or using another SIM card, all your contacts work without making any changes for your location.




Twitter: ajobbins


DrStrangelove
368 posts

Ultimate Geek


  #628144 21-May-2012 01:50
Send private message

ajobbins: I store everything in + E164 format in my phone anyway.

That way when you are overseas and either roaming or using another SIM card, all your contacts work without making any changes for your location.


ditto

netspanner

343 posts

Ultimate Geek


  #628146 21-May-2012 06:39
Send private message

Thanks for the help. I ended up stripping back the incoming message to 6 numbers from the right and did the same to the contacts list. when loaded into the program. That meant it didn't matter what the prefix was :-) It now works.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.