ExampleMediaController
ExampleMediaController copied to clipboard
App Crash - While running video minimise app then open it. Attempt to invoke virtual method 'void android.media.MediaPlayer.setDisplay(android.view.SurfaceHolder)' on a null object reference
When i return from another activity to my video, it crashed with IllegalStateException on player.prepareAsync(); stack trace: 10-12 23:23:05.072: E/AndroidRuntime(24717): at android.media.MediaPlayer.prepareAsync(Native Method) 10-12 23:23:05.072: E/AndroidRuntime(24717): at com.videomap.app.dialogs.ViewDataCustomDialog.surfaceCreated(ViewDataCustomDialog.java:497) 10-12 23:23:05.072:...
when i download the source code and then run it, it happened to wait quite a long time and then display the video. The media controller is still the basic...
I created Android project from this code, but when I start an application I can see only the following picture and hear sound from video:  What I did wrong?...
While put customview inside the scrollview like given below ``` ``` No media controls are displayed
when i click on full secrren button nothing happen
if I use this framework to display video from the internet again and again, it will refuse to work after 3-4 times