Miniature Fsms for Android