Add states example for android

First contribution to android samples??? :P