view - Detect if a video is playing on Android -
can app detect if video playing via 3rd party player?
i want hide floating view (think chatheads) when video starts playing or becomes full screen.
chatheads when video playing how detect playing video?
thanks
you can't monitor other apps behavior, more specifically, can't capture or take snapshot of other apps can watch special strings in logcat
here's logcat of defaul movies
app of android:
05-21 12:30:03.709: error/mediaplayerservice(803): error: -2147483648 05-21 12:30:03.709: error/mediaplayer(1778): unable to create media player 05-21 12:31:19.160: debug/mediaplayer(1852): getmetadata 05-21 12:31:19.370: warn/mediaplayer(1852): info/warning (3, 0) 05-21 12:31:19.400: info/mediaplayer(1852): info (3,0)
you should take care of player apps, too.
Comments
Post a Comment