* 11.10.30.01까지 개발내용
- 영어 단어(발음), 영어 철자(발음), 한글 단어(발음) - Google TTS 이용 발음 듣기 기능(http://goo.gl/mLB5N)
- Portrait only
- App 시작
VocaTrainer - type : refresh, play : true, next : false
VocaTrainerService - DB갱신, random선택, timer시작
- 일시정지 버튼
VocaTrainer - type : continue, play : false, next : false
VocaTrainerService - timer중지
- 재생 버튼
VocaTrainer - type : continue, play : true, next : false
VocaTrainerService - timer시작
- 다음재생 버튼
VocaTrainer - type : continue, play : true, next : true
VocaTrainerService - random선택, timer시작
- 종료
VocaTrainer - type : stop
VocaTrainerService - stopSelf()
- 단어관리, 설정 화면 종료시
SingleTask(SingleInstance)인 경우 startActivityForResult()를 호출하면
setResult()가 호출되지 않아도 바로 onActivityResult()가 호출되어 사용하지 못함
따라서 Started Activity에서 Broadcast를 날려 Starting Activity에서 처리하도록 함
action : VOCA_TRAINER_ACTION, extra : refresh
VocaTrainer - type : refresh, play : 기존 상태, next : false
- VocaTrainerService에서 단어 변경시
action : VOCA_TRAINER_ACTION, extra : update
공유하기 버튼
| Tweet |



덧글