×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    9

    accessing phone numbers problem

    hi
    I have a project. My project is smsToMany in J2ME platform. therefore it is necassary numbers in cellphone(siemens SXG75) to send sms.
    I have tried access to phone numbers in cellphone or sim card but I did not achieve. can anybody help me please?
    I have to complete my project shortest time. please please help

    regards

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: accessing phone numbers problem

    Look up JSR-75 (PIM APIs): http://www.jcp.org/en/jsr/detail?id=75

    You might also find useful code examples in the wiki: http://wiki.forum.nokia.com/index.php/Category:Java

    Whether you can access SIM contacts or only contacts in phone memory depends on the device (SXG75 does not sound like a Nokia device, so you might want to ask the real manufacturer, as this is a Nokia developer discussion forum).

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    9

    Re: accessing phone numbers problem

    thanks petrib for your reply.
    you gave that second link I tried it.
    running successfully but does not access phonebook(phone numbers).
    I have used JSR 75(PIM) previously but I did not achieve.
    I do not know cause of problem. please please help me

    regards

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: accessing phone numbers problem

    Hi,
    Well you have to follow the steps that petrib has shared...PIM API you have to use in order to access the contacts..

    I have used JSR 75(PIM) previously but I did not achieve.
    I do not know cause of problem. please please help me
    Is there any exception thrown or any other alerts displayed ..


    Please make sure that you can not ACCESS the SIM contacts with J2ME you can only access the phone memory contacts..

    you can find the details,I guess that it does not support the PIM api as shown here
    http://mobilezoo.biz/Siemens_SXG75_h...uploadid=25770
    I wonder if you can access the same details from the device that does not support JSR 75.
    Please make sure that,
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Registered User
    Join Date
    Dec 2008
    Posts
    9

    Re: accessing phone numbers problem

    hi my friends,
    thank you very much for your replies.
    but I am so sorry because I did not access phone numbers in siemens SXG75. How to access numbers in phonebook(siemens SXG75)?
    can you give me sample code?
    please please help me

    regards

  6. #6
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: accessing phone numbers problem

    I think this phone does not have JSR75. In which case, you cannot access the phone book.

    Are you sure this phone has JSR75?

    What actually happens when you try?

  7. #7
    Registered User
    Join Date
    Dec 2008
    Posts
    9

    Re: accessing phone numbers problem

    Quote Originally Posted by grahamhughes View Post
    I think this phone does not have JSR75. In which case, you cannot access the phone book.

    Are you sure this phone has JSR75?

    What actually happens when you try?
    siemens SXG75 does not support jsr75, when occurs error I try it.
    how can I access phonebook?
    Is there any ways except jsr75???
    give me sample code please help me

    regards

  8. #8
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: accessing phone numbers problem

    JSR75 is the way of accessing the phone book.

    There is one possibility: use a TextBox with the PHONENUMBER constraint.

    Code:
    TextBox input = new TextBox("Phone number", "", 20, TextField.PHONENUMBER);
    On some device (for example, most Nokias), the "options" menu for the TextBox will contain an option to view the phone book. The application cannot see the phone book, but the user can, and can use it to enter a phone number.

Similar Threads

  1. Nokia 6280 problem with phone memory!
    By Crewis in forum General Development Questions
    Replies: 5
    Last Post: 2006-11-24, 20:57
  2. Problem in makeing Phone Call in 2nd edition
    By yogesh.bhople in forum Symbian
    Replies: 4
    Last Post: 2006-11-18, 08:47
  3. Solution for http problem on new nokia phone
    By wipfunk in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-07-20, 05:09
  4. PROBLEM WITH 6681 PHONE
    By jinda007 in forum General Development Questions
    Replies: 4
    Last Post: 2006-02-10, 16:26
  5. Linking from SMS to phone numbers
    By deskpro in forum Smart Messaging
    Replies: 3
    Last Post: 2004-02-06, 08:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •