1.Android Download History table and service and DAO.
2.Code to find IMEI for GSM and the MEID or ESN for CDMA phones.