Results 1 to 5 of 5
  1. gnat1134's Avatar
    CrackBerry Newbie

    Posts
    1 Posts
    Thread AuthorThread Author   #1  

    Default Getting device phone number programmatically

    Does anyone know how to get the device phone number programmatically?
  2. naviwilliams's Avatar
    Distinguished

    Posts
    11,998 Posts
    Global Posts
    14,325 Global Posts
    PIN
    Pin Point Accuracy
    #2  

    Default

    Am a bit confused here. Are you asking how to get the phone number from a particular device?

    If yes, you could make a call from it, you could go to options / security / sim, and check it there...

    Unless of course I've totally mis-understood the question. And believe me, that's possible...


    Wait, I've just check the location of this thread. Are you asking for 'coding' that would generate the number for you? Like on the Nokia's you can do somehting like #760...# and it tells you the number...

    ps: welcome to CrackBerry.com!
  3. tmag2005's Avatar
    CrackBerry Genius

    Posts
    1,898 Posts
    Global Posts
    1,900 Global Posts
    PIN
    2571757c
    #3  

    Default

    From what i understand, you would want to possible go to Options --> Sim Card and the number should appear there.

    However, if you use one of those funny American versions without a SIM - not sure how that would work....

    (joke )
  4. naviwilliams's Avatar
    Distinguished

    Posts
    11,998 Posts
    Global Posts
    14,325 Global Posts
    PIN
    Pin Point Accuracy
    #4  

    Default

    ...a shame the original poster has not logged back on yet.
  5. Bradmcn's Avatar
    CrackBerry Newbie

    Posts
    1 Posts
    #5  

    Default

    Phone.getDevicePhoneNumber(boolean)

    Refer the API docs for more details.

Posting Permissions