Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User oscarm's Avatar
    Join Date
    Aug 2007
    Posts
    31
    hi, i´m developing an aplication in JME for th S40, and i want to know if is posible to read the contacts of the phone using my aplication? And how?
    thanks

  2. #2
    Registered User alb3530's Avatar
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523
    yes, it's possible, but depends on the phone.In older models it's not possible by normal means

    Additionally, take a look here:

    http://discussion.forum.nokia.com/fo...d.php?t=112995

    best regards
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

  3. #3
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Please check the device specification pages (http://forum.nokia.com/devices) if the specific phone supports JSR-75 PIM API. If yes, you can access the contacts

    For guidance how to use it see
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html
    http://developers.sun.com/mobility/a...pim/index.html

    Hartti

  4. #4
    Registered User johnj.rmg's Avatar
    Join Date
    Sep 2007
    Posts
    1
    Quote Originally Posted by oscarm View Post
    hi, i´m developing an aplication in JME for th S40, and i want to know if is posible to read the contacts of the phone using my aplication? And how?
    thanks
    We are developing something similar ("we" as in 4 guys making the program). We managed to write the contacts to the phone through a servlet and extract the contacts from the phone as well. All this within emulators. Now in real life, we found a serious issue: downloading contacts, no problem; reading the contacts IS our problem. We do this by calling the PIM API identifying the fields, attributes, etc., so that we make a file (in this case a txt) with all the contacts to upload them to the servlet.

    As i mentioned, in an emulator works, although we run into computer freezes or memory saturation.

    My quiestion would be: is it possible to read ALL the contacts in a phone, and EXPORT THEM ALL into ONE SINGLE FILE???

  5. #5
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Hi,

    "is it possible to read ALL the contacts in a phone, and EXPORT THEM ALL into ONE SINGLE FILE???"
    AFAIK, if your target device supports FileConnection API, then it is possible.

    Br,
    Juarez Alvares Barbosa Junior - Brazil

  6. #6
    Registered User samwize's Avatar
    Join Date
    Dec 2006
    Posts
    5
    Hi juarezjunior,

    Can you shed light on how to do so with FileConnection API? What file would all the contacts be stored in?

    Thanks.

  7. #7
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Hi,

    Sorry for being late on that.

    Some docs below as they have all the related information to structure a solution.

    MIDP: PIM API Developer's Guide (with Example) v2.0
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

    MIDP: FileConnection API Developer's Guide (with Example) v2.0
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

    Kind regards,
    Juarez Alvares Barbosa Junior - Brazil

Similar Threads

  1. RFile Read Write Asynchronous KErrCorrupt
    By muntain in forum Symbian C++
    Replies: 21
    Last Post: 2010-04-22, 11:03
  2. How do I read phonebook Contacts using PIM API in N70
    By ayan_sen in forum Mobile Java General
    Replies: 4
    Last Post: 2007-07-30, 22:33
  3. Replies: 5
    Last Post: 2006-08-02, 12:35
  4. Nokia 3230 and S.E k300i can not handle http Connection read while n6030 can read
    By jasmitvala in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-03-21, 14:01
  5. EtelBgsm.h - read contacts
    By fabionokia in forum Symbian C++
    Replies: 1
    Last Post: 2003-12-07, 11:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved