简体   繁体   中英

Call an Intent on click of Pause button Pressed while video playing in android

I have a problem that I want to call a User Defined function on Pause Button Pressed while playing a video file in our App, How can I do that? Please suggest me for right result.

Thanks in advance for any suggestions

VideoView v=new VideoView(this);

Take one Button to pause Video and then call

   v.pause();

now after this you can do anything

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM