读书人

依据联系人获得即将来临的生日

发布时间: 2012-08-21 13:00:22 作者: rapoo

根据联系人获得即将来临的生日

+ ContactsContract.CommonDataKinds.Event.START_DATE + ",6) <= ?" ,?
? ? ? ?new String[] {ContactsContract.CommonDataKinds.Event.CONTENT_ITEM_TYPE, fromDate, toDate}, ?
? ? ? ?"substr("+ ContactsContract.CommonDataKinds.Event.START_DATE +",6)");?
? List<BContact> result = new ArrayList<BContact>();?
? int i=0;?
? while (c.moveToNext() && i<rows) {?
? ? ? result.add(new BContact(c.getString(0), c.getString(1), c.getString(2)));?
? ? ? i++;?
? }?
? c.close();?
? return result;?

读书人网 >移动开发

热点推荐