안드로이드 개발 질문/답변
(글 수 45,052)
좀 이상한 질문 같기는 한데..
ICS에 새로 추가된 API 중에 RemoteControlClient라는 게 있습니다.
관련 샘플 앱인 RandomMusicPlayer를 돌려봤는데, 아무리 봐도 그 Remote Control Client 가 뭔지 모르겠습니다.
Remote control client
The new RemoteControlClient allows media players to enable playback controls from remote control clients such as the device lock screen. Media players can also expose information about the media currently playing for display on the remote control, such as track information and album art.
설명을 읽어봤을 떄, 제가 이해하기로는 lock screen이 RemoteControlClient 이고 그 위에서 앨범아트 같은 것도 볼 수 있게되었다라고 하는 것 같은데요... 락스크린에는 playback 같은 게 아무리 봐도 없거든요.
제가 뭘 잘못 알고 있는건지...ㅜㅜ
이 API가 뭘 하는 건지 아시는 분 계신가요?
공지사항을 다 읽었음




remote control client는 락스크린때에도 음악듣는다면 화면에 띄워서 컨트롤 할 수있게해줍니다.
해보니깐 일반 락스크린때에는 안뜨네요. 패턴락 설정하시고 노래 튼다음 락스크린 띄워보세요 그럼 위에 리모트컨트롤이 뜹니다.