When I try to add contact in group( by PIMItem.addCategory() call) I face the problem: There is a limit contacts in an category, but i can not get this limitation from code.
For Nokia 6101 this limit is 50 contacts in category.
When i try to add 51th contact - PIMItem.commit() raises exception ("database error") and contact DISAPPEAR. Is only one way - try to save contact and if exception create new one and copy all information?
That is going with old contact after x.commit() - i don't know but researching...