블루투스 가운데 버튼 롱클릭
HeadsetStateMachine(22734): Connected process message: 101, size: 1
HeadsetStateMachine(22734): event type: 3event device : 48:C1:AC:63:16:09
HeadsetStateMachine(22734): processVrEvent: state=1 mVoiceRecognitionStarted: false mWaitingforVoiceRecognition: false isInCall: false
블루투스 가운데 버튼 클릭
MediaSessionHelper(21887): Attempting to get helper with context com.example.noearphone.MainActivity@3183d806
MediaSessionHelper(21887): dispatched media key KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PLAY, scanCode=200, metaState=0, flags=0x8, repeatCount=0, eventTime=50437068, downTime=50437068, deviceId=10, source=0x101 }
NoEarphone(21887): 126
NoEarphone(21887): 0
블루투스 가운데 버튼 릴리즈
MediaSessionHelper(21887): Attempting to get helper with context com.example.noearphone.MainActivity@3183d806
MediaSessionHelper(21887): dispatched media key KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PLAY, scanCode=200, metaState=0, flags=0x8, repeatCount=0, eventTime=50437104, downTime=50437068, deviceId=10, source=0x101 }
NoEarphone(21887): 126
NoEarphone(21887): 1
이어폰 음량 조절
MediaSessionHelper(21887): Attempting to get helper with context android.app.ContextImpl@1f77e1de
MediaSessionHelper(21887): dispatched volume adjustment
MediaSessionHelper(21887): Attempting to get helper with context android.app.ContextImpl@1f77e1de
MediaSessionHelper(21887): dispatched volume adjustment
audio_hw_primary(192): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=6
audio_hw_primary(192): select_devices: out_snd_device(5: speaker-and-headphones) in_snd_device(0: )
backup_data_changed(803): com.android.providers.settings
이어폰 가운데 버튼
MediaSessionHelper(21887): Attempting to get helper with context com.example.noearphone.MainActivity@3183d806
MediaSessionHelper(21887): dispatched media key KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_HEADSETHOOK, scanCode=226, metaState=0, flags=0x8, repeatCount=0, eventTime=50591234, downTime=50591234, deviceId=3, source=0x101 }
NoEarphone(21887): 79
NoEarphone(21887): 0
MediaSessionHelper(21887): Attempting to get helper with context com.example.noearphone.MainActivity@3183d806
MediaSessionHelper(21887):
dispatched media key KeyEvent { action=ACTION_UP,
keyCode=KEYCODE_HEADSETHOOK, scanCode=226, metaState=0, flags=0x8,
repeatCount=0, eventTime=50591440, downTime=50591234, deviceId=3,
source=0x101 }NoEarphone(21887): 79
NoEarphone(21887): 1
리모트 컨트롤
http://developer.android.com/reference/android/media/RemoteControlClient.html
'Android' 카테고리의 다른 글
Activity에서 onPause() 전에 무조건 onUserLeaveHint() 가 수행될 경우. (0) | 2015.01.21 |
---|---|
AndroidStudio 설치하기 (0) | 2015.01.14 |
JakeWharton/Android-ViewPagerIndicator 사용하기 (0) | 2014.08.04 |
Found 2 versions of android-support-v4.jar in the dependency list (0) | 2014.08.04 |
[펌]Log 를 테스트시에는 보이고 배포시에는 안보이도록 자동 처리 (0) | 2014.08.04 |