Package javax.microedition.pim

Examples of javax.microedition.pim.Contact.commit()


            // Add email and phone info to contact
            contact.addString(Contact.EMAIL, Contact.ATTR_WORK
                    | Contact.ATTR_PREFERRED, "cwarren@rim.com");
            contact.addString(Contact.TEL, Contact.ATTR_MOBILE, PHONE_NUMBER);

            contact.commit();
            contacts.close();
        }
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.