Hi guys, I have implemented the VideoPlayer example from the following link:
http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/ I have two errors with the code:- 1. the return type is incompatible with MediaPlayer.OnErrorListener (MediaPlayer,int,int) public void onError(MediaPlayer mediaPlayer, int what, int extra) { Log.e(TAG, "onError---> what:" + what + " extra:" + extra); if (mediaPlayer != null) { mediaPlayer.stop(); mediaPlayer.release(); } } 2. the return type is incompatible with SurfaceHolder.Callback.surfaceCreated(SurfaceHolder) public boolean surfaceCreated(SurfaceHolder surfaceholder) { Log.d(TAG, "surfaceCreated called"); return true; } The return type is underlined with red. Any idea how to resolve the errors to get the VideoPlayer playing. Regards, Android-Beginner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

