You Are Here:

Community: Developer Discussion Boards

#1 Old Add contacts to Record store - 2009-05-11, 07:24

Join Date: May 2009
Posts: 95
knights123
Offline
Regular Contributor
Can i know how to add the contacts to Record Store using JSR -75.

Can u please help me the code?
Reply With Quote

#2 Old Thumbs up Re: Add contacts to Record store - 2009-05-11, 07:28

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
http://wiki.forum.nokia.com/index.ph...s_using_JSR_75
http://developers.sun.com/mobility/a...pim/index.html


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#3 Old Re: Add contacts to Record store - 2009-05-11, 07:45

Join Date: May 2009
Posts: 95
knights123
Offline
Regular Contributor
Hi,

I got to know how to add the contacts, but i want to know how to store the added contacts in the Record store.
i was not able to access the second link you provided.
Reply With Quote

#4 Old Re: Add contacts to Record store - 2009-05-11, 07:53

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Quote:
Originally Posted by knights123 View Post
Hi,

I got to know how to add the contacts, but i want to know how to store the added contacts in the Record store.
Hi,
What is the difference between the bold lines.Both are the same,Then what you understand?
You have to just read the contacts and then add in the RMS.
About the RMS you can search the forum,
http://www.java-samples.com/showtuto...tutorialid=303
http://www.java2s.com/Code/Java/J2ME...alityofRMS.htm


Thanks

R a j - The K e r n e l
Reply With Quote

#5 Old Thumbs up Re: Add contacts to Record store - 2009-05-11, 08:06

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Quote:
Originally Posted by knights123 View Post
Hi,

I got to know how to add the contacts, but i want to know how to store the added contacts in the Record store.
i was not able to access the second link you provided.
U can add the contacts in RMS in following way:
Code:
byte[] contact = (contact_name+"#"+number+"#"..).getBytes();
recordStore.addRecord(contact,0,contact.length);
Just make one record for one contact. Separate the different field values with a separator.

is this makes some sense to you?


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#6 Old Re: Add contacts to Record store - 2009-05-11, 08:46

Join Date: May 2009
Posts: 95
knights123
Offline
Regular Contributor
As im a beginner to j2me,Please excuse me if my question looked silly.

I just wanted to know how to add/store the contacts in RMS.
I went through the article in this link
http://wiki.forum.nokia.com/index.ph...re_Data_in_RMS

but i'm finding it difficult to implement the RMS concept in my program.
Reply With Quote

#7 Old Thumbs up Re: Add contacts to Record store - 2009-05-11, 09:32

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Did u checkout the following link suggested by Raj

http://www.java2s.com/Code/Java/J2ME...alityofRMS.htm

Here u found a good example regarding ur problem.
As you are new to j2me then please read out some articles about RMS.

Please checkout this link regarding Recordstore


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Save image in record store nim_esh Mobile Java Media (Graphics & Sounds) 2 2008-03-10 00:09
Add field to groups in Contacts heuven Symbian Networking & Messaging 0 2008-02-21 10:44
6230i record store full? sarveniko Mobile Java Tools & SDKs 2 2006-07-02 23:44
3650 & Record Store basarim Mobile Java General 4 2003-12-10 23:20
Using protocol file:// with object connector afinistr Mobile Java General 2 2002-06-24 08:12

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia