O, I see.
Well let me explain why I want to do that: I am using an MDM software to control the devices deployed by my company. They want the users in the field to be able to make/receive calls from ONLY the contacts in their phone (they are using Google Apps, so they have shared contacts which would get synced to all the devices). However, no MDM as of now can control the contacts. So using Avast, I know I can block all numbers NOT in the contacts list.
So my solution would involve installing (and of course preventing the opening/uninstallation of) Avast. I can push that out via the MDM program. Your question might be, “how would you configure the app remotely on each device, that would be impossible!” Well, I know that every app that is installed has configuration files that are saved in the /data/data/“app package id name” folder, which is true of Avast, as well. I was thinking that if this file that controls blocked numbers is as simple as a txt or xml file which can be easily edited to add/delete numbers, then I can edit this file anytime an update of whitelisted numbers is needed, and then push that file (via the MDM) to that folder in every phone.
Let me know what you think, and if it CAN be done, even with the .db file.