I have this example project: https://github.com/ohcibi/testonseek
The interesting part is in MainActivity.java where I do something like

@Overridepublic void onCreate(Bundle bundle) { Intent second = new Intent(this, Second.class); startActivity(second);}@Overrideprotected void onRestart() { super.onRestart(); player.seekTo(15000); player.start();}The seekTo/start combination is to simulate restart of playing e.g. when the screen is rotated.
I've overridden the VideoView's seekTo method to log when it is called and I noticed that it is called several times when the VideoView is used like that. Does anybody know why this happens?


Check Solution