Honestly I've never gotten a virus on any of my Android phones and I've owned many but I guess you can never be safe. If you're worried then maybe you should download an antivirus software to be safe. I never saw the need an I've never heard of anyone having one.

Viruses are not really a problem in Android, but spyware definitely is. If you are a person who doesn't worry about privacy then fine. But otherwise you need to protect yourself.

A firewall helps to control what goes in and out of your device. I use Avast Mobile Security (free) which combines a anti-virus (probably unnecessary) with firewall, anti theft and other security tools.

If you want to see some of the spyware on your device try "logging test app" (from play store, needs root). You'll see how your activity is logged and sent out.

I am sure there are viruses out there...... the likelyhood of you actually getting one is slim to none. You might increase your chances if you used warez or installed some goofy apk from a website that nobody has ever heard of. Common sense is your best defense. There are anti virus programs out there but I have never used one.

If you feel that you are vulnerable to viruses , install free anti-virus applications form play store like AVG, avast etc
My suggestion would be to install avast and be secured
There are many malwares on Android :-|

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?