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.




173 posts

Master Geek
+1 received by user: 17


Topic # 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
24991 posts

Uber Geek
+1 received by user: 4880

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 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.



173 posts

Master Geek
+1 received by user: 17


  Reply # 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

 
 
 
 


4913 posts

Uber Geek
+1 received by user: 1953

Trusted
Subscriber

  Reply # 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.




Chorus has spent $1.4 billion on making their xDSL broadband network faster. If your still stuck on ADSL or VDSL, why not spend from $150 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour

 

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


19638 posts

Uber Geek
+1 received by user: 3474

Trusted
Subscriber

  Reply # 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

Awesome
4745 posts

Uber Geek
+1 received by user: 1034

Trusted
Subscriber

  Reply # 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


368 posts

Ultimate Geek
+1 received by user: 1


  Reply # 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



173 posts

Master Geek
+1 received by user: 17


  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Red Hat unveils production-ready open source hyperconverged infrastructure
Posted 23-Jun-2017 22:10


Whatever ailed Vodafone broadband … seems to be fixed
Posted 23-Jun-2017 14:10


VMware NSX Meets Stringent Government Security Standards with Common Criteria Certification
Posted 22-Jun-2017 19:05


Brother launches next-generation colour laser printers and all-in- ones for business
Posted 22-Jun-2017 18:56


Intel and IOC announce partnership
Posted 22-Jun-2017 18:50


Samsung Galaxy Tab S3: Best Android tablet
Posted 21-Jun-2017 12:05


Wellington-based company helping secure Microsoft browsers
Posted 20-Jun-2017 20:51


Endace delivers high performance with new 1/10/40 Gbps packet capture card
Posted 20-Jun-2017 20:50


You can now integrate SMX security into Microsoft Office 365, Google and other cloud email platforms
Posted 20-Jun-2017 20:47


Ravensdown launches new decision-making tool HawkEye
Posted 19-Jun-2017 15:38


Spark planning to take on direct management of all consumer stores
Posted 19-Jun-2017 10:03


Qrious acquires Ubiquity
Posted 14-Jun-2017 12:21


Spark New Zealand prepares for 5G with Nokia
Posted 14-Jun-2017 12:16


The future-proof 10.5-inch iPad Pro
Posted 13-Jun-2017 18:16


Mandatory data breach reporting in Australia
Posted 13-Jun-2017 11:30



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.

Alternatively, you can receive a daily email with Geekzone updates.