alertdialog - How to customize android VideoView Error Dialogue -


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 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.

If I can not customize the VideoView error conversation, then I can not show it on the screen

 Enter image details here

  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 ();   

Just type the code you want to download / play button on click.

Comments