It wasn't meant to be. "invoke" command was meant to be accessible in
all states. In the tree that we use internally, we have eliminated
that condition and allow the command to go through.

-Ravi

On Jun 11, 11:06 am, NoraBora <[email protected]> wrote:
> I thought MediaPlayer's invoke() is for using OpenCORE's
> PlayerExtensionCommand.
>
> but when I actually used invoke(), I got an error
>
>   E/MediaPlayer( 1263): invoke failed: wrong state 10
>
> I found that invoke() is supposed to be called between
> MediaPlayer.setDataSource() and prepare()
>
> which is quite narrow.
>
> Any reason for this? or I can change this for my own purpose?

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to