Had a similar issue. I think the problem is not that the callback
method is not called, but rather that when a surfaceView gets
destroyed and a new one created, also a new handler is created.

See here for a solution to this that worked for me:
http://groups.google.com/group/android-developers/browse_thread/thread/3514e1890ed958e2/8874eff5e487553a?hl=en&lnk=gst&q=tobias429#8874eff5e487553a

On Jul 26, 3:30 pm, ameya dandekar <[email protected]> wrote:
> Hi,
>    I am currently working on the app in which my media player class is
> singleton, and i want to play the video files. I use surfaceView for the
> video display part. But the problem i m facing is when i change the
> orientation , the previous playback disappears (if was playing) and the new
> surface view is  getting created ..but  the callback method surface created
> is not getting called in which i want to take further action. Where am i
> going wrong ?
>
> Regards,
> Ameya

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to