Add states example for android

First contribution to android samples??? :P
It's a known issue, I'm working on fixing it.