I don't know what program you were using, but I can say with relative certainty that the detection was probably false. I rarely use anti-virus programs in general anymore. Most seem to have become bloated, corrupted, or useless to me.
I do have Lookout installed, however. I don't rely much on the actual anti-virus features of the program, but it scans a program every time it's installed or updated. I mostly use it because it allows for some data backup and somewhat of a, "missing device," feature to locate a lost phone. The peace of mind helps I suppose, but it's not like a scan every couple days; probably once a week.