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
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
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
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
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???
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
Hi juarezjunior,
Can you shed light on how to do so with FileConnection API? What file would all the contacts be stored in?
Thanks.
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