add code to convert to android db format