android - VideoView restarts playback on lock screen -


i have activity containing vitamio videoview, works pretty except annoying issue causes player restart playback when lock screen.

as far can see kills activity upon locking , restarts it. have idea on how can fix issue?

thanks in advance, x

what ended doing adding android:configchanges="orientation|screensize" manifest. , added videoview.pause(); onpause() function in videoview activity make sure didn't continue playing.

even though worked believe must force orientation videoview activity, unless want weird when orientation changes.


Comments

Popular posts from this blog

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -

c# - Send Image in Json : 400 Bad request -