In my application, I want to stream video. If the video can not play that video, then the necessary brains show that what I want to do to customize this conversation, and to download this button, two buttons one and another If I can not customize the Just type the code you want to download / play button on click. Low Quality Video Now
onErrorLitener of
VideoView I am showing the user a conversation, but in this way my
conversation I also show my kind of conversation on the screen which I did I do not want to.
VideoView error conversation, then I can not show it on the screen
AlertDialog. Builder Builder = New Builder (YourActivityName.This); Builder.setTitle ("video"); Builder.setMessage ("The message that you want to pass"); Builder. Setup Button ("Download", New DialogInterface.OnClickListener () {Click on Public Zero (DialogInterface dialog, int joe) {// TODO Auto generated method stub}}); Builder.setNegativeButton ("Play", New DialogInterface.OnClickListener () {click on Public Zero (DialogInterface dialog, int joe) {// TODO Auto generated method stub}}); Builder.create (); Builder.show ();
Comments
Post a Comment