adding window option to android demo console app