Thursday, April 5, 2012

Deleting Gmail 2-Factor SMS Messages

I’m sure most are aware that Google offers 2-factor authentication for Gmail accounts.  I personally use the SMS verification code option.  I find myself logging into multiple Gmail accounts on a daily basis, which usually results in a mass of SMS messages telling me what my verification number is.  Of course, I could just be diligent and delete them after I enter the code, but more often than not, I end up just collecting them.  

I decided to write a simple Android application that queries your SMS inbox, finds verification codes, and deletes them from your phone.  The user interface for the application is crude as hell but it does what it is supposed to do.  For now, the project files are available on Github.  Eventually I will try to get it up on the Market.  In the meantime, you are welcome to play with the code or test-drive the app.  Enjoy!