public static ContentValues getContentValues(SocialNetwork sn, Long idContact) {
   ContentValues cv = new ContentValues();
   cv.put(SOCIAL_NETWORK_NAME, sn.getSocialNetoworkName());
   cv.put(SOCIAL_NETWORK_VALUE, sn.getValue());
   cv.put(SOCIAL_NETWORK_CONTACT_ID, idContact);
   return cv;
 }
 public static SocialNetwork getSocialNetworkFromCursor(Cursor c) {
   SocialNetwork sn = new SocialNetwork();
   sn.setSocialNetoworkName(c.getString(c.getColumnIndex(SOCIAL_NETWORK_NAME)));
   sn.setValue(c.getString(c.getColumnIndex(SOCIAL_NETWORK_VALUE)));
   return sn;
 }