How to remove a virus or malware from Android phone or tablet? How can your Android phone or tablet get a virus or malware? Most infections come from contact with an app, file or another device. Same as with humans. If you download apps from other sources, there may be a virus or malware imbedded in the app. Same is true when you download files, such as mp3, mp4 or even pdf files; or even connecting with another device may allow a virus or malware to infiltrate your own device.