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.




127 posts

Master Geek


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
16854 posts

Uber Geek

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.




*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post



127 posts

Master Geek


  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

2655 posts

Uber Geek

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 ADSL broadband network faster. Why not spend a couple of hundred to make sure you are getting the most out of your connection?
Geekzone special price: $150* for master splitter install, normally $200+ through your ISP. Auckland and Waikato areas.
*Travel charges may apply. Additional costs may apply for complex installs.
I install - Naked DSL, DSL Master Splitters, VoIP, RBI Rural Broadband. Also a dealer for WorldxChange.
Need help in Auckland or Waikato? Click my email button, or email me direct: [my user name] at geekzonemail dot com

8899 posts

Uber Geek

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
3090 posts

Uber Geek

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


  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



127 posts

Master Geek


  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 new jobs are posted to our jobs board:



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




News »

Trending now »
Hot discussions in our forums right now:

Sky outbid for EPL rights (Premier League Pass discussion)
Created by JonnyCam, last reply by Benoire on 20-Jun-2013 10:02 (244 replies)
Pages... 15 16 17


I am been sued - HELP!
Created by BaaaaD, last reply by Jaxson on 20-Jun-2013 09:56 (65 replies)
Pages... 3 4 5


Condenser Dryer: anyone has one?
Created by joker97, last reply by graemew on 18-Jun-2013 21:08 (31 replies)
Pages... 2 3


Orcon Genius Go discussion
Created by freitasm, last reply by ptinson on 20-Jun-2013 10:10 (61 replies)
Pages... 3 4 5


Slingshot Global Mode announced
Created by freitasm, last reply by merve0o0 on 20-Jun-2013 09:44 (49 replies)
Pages... 2 3 4


Slow YouTube Response
Created by SneakerPimps, last reply by mercutio on 18-Jun-2013 21:34 (23 replies)
Pages... 2


Anyone else watching paint dry?
Created by gnfb, last reply by DravidDavid on 19-Jun-2013 19:53 (40 replies)
Pages... 2 3


Calling all mazda 3/Axela owners in NZ
Created by coolcat21, last reply by Kingy on 19-Jun-2013 09:51 (37 replies)
Pages... 2 3



Geekzone Jobs »
Most recent NZ jobs in technology:

Senior Systems Administrator
Posted 20-Jun-2013 09:38

Developer-HTML 5/Javascript. $80-90k
Posted 20-Jun-2013 09:38

C++ Senior Developer $90-$120k neg
Posted 20-Jun-2013 09:38

C++ Gaming Developer Required - $75-120K
Posted 20-Jun-2013 09:38

Senior Technical Tester | Permanent | Finance
Posted 20-Jun-2013 09:38

Game Producer/Project Manager - $100-120K Neg
Posted 20-Jun-2013 09:38

Website needed
Posted 19-Jun-2013 22:38


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.