[android-developers] Re: Media Player callbacks only function for an Activity?

2009-03-02 Thread Paper Coder
It's good to know this, especially if I encounter other classes that seem to not be able to access resources easily. Although, if I encounter that situation again, it will set off a warning signal that there is probably an easier way to do it (as in checking for a null reference in media player

[android-developers] Re: Media Player callbacks only function for an Activity?

2009-03-01 Thread Marco Nelissen
On Sun, Mar 1, 2009 at 7:40 AM, madcoder paperga...@gmail.com wrote: I thought I had solved this problem here http://groups.google.com/group/android-developers/browse_thread/thread/260f2951d4a23445/d676c2a7d6b66c20?hl=enlnk=gstq=onpreparedlistener#d676c2a7d6b66c20 but apparently not. I

[android-developers] Re: Media Player callbacks only function for an Activity?

2009-03-01 Thread Marco Nelissen
On Sun, Mar 1, 2009 at 4:55 PM, Paper Coder paperga...@gmail.com wrote: I didn't realize it wouldn't return the media player until it was ready to play. Now the methods in media player make much more sense.  I was wondering why there wasn't a way to create a new media player object with the