首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

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

2012-08-21 
根据联系人获得即将来临的生日+ ContactsContract.CommonDataKinds.Event.START_DATE + ,6) ? ,?? ?

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

+ 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;?

热点排行