MediaPlayer not running - just blank screen

by dillirao malipeddi » Thu, 05 Mar 2009 17:48:12 GMT


Sponsored Links
 id you get any error in ddms logcat ?
may be your player gives error while try to play



On Thu, Mar 5, 2009 at 3:14 PM, nithin <nithin.war...@gmail.com> wrote:



--
Dilli Rao. M

--~--~---------~--~----~------------~-------~--~----~



MediaPlayer not running - just blank screen

by Marco Nelissen » Fri, 06 Mar 2009 01:03:06 GMT


 hat won't work for a number of reasons:
- when you create the MediaPlayer and call start(), your display isn't
ready yet. You need to wait for the surfaceCreated() callback.
- you need to use the version of MediaPlayer.create() that takes a
SurfaceHolder parameter.
(this was all discussed on this mailing list a few weeks ago, you
might want to search the archives)



On Thu, Mar 5, 2009 at 1:44 AM, nithin <nithin.war...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Unable to compile a fully working AOSP android for Hero

There are two types of ROMs to the Hero, the ones with sense (coming
from HTC or customized by users, but with sense anyway) and laggy, and
the ones compiled from sources with missed capabilities (Bluetooth,
glitches, etc).

My question is, since we've got the sources for Hero kernel (http://
developer.htc.com/), and the AOSP project, why noone did compile a
fully-working-without-sense-then-faster-1.5-AOSP Rom for Htc Hero?

OR

why it is so difficult to compile a working 2.1 Rom if we have the
kernel, hence the drivers?


Thanks!

-- 

2. Complains of shrinking font sizes

Hello,

I have an application on the Android Market called My Collection Pro.
I am getting complaints from my post Android 2.0 users (Droid, etc)
that when the close and re-open the app, the font keeps getting
smaller.

I build my application in the 1.5 API to have the highest number of
supported phones.  If the users rotate the phone to cause the app to
restart it goes back to the original font.

I am unable to reproduce this in the emulator and on my G1.

Any ideas or suggestions?  My resource layouts are really straight-
forward and I leave font at system default (i.e., I don't specify
anything)...

-- 

3. JVM tool interface support? in android vm - I want to register get/set hooking callback function at my class

4. Unable to reject the incoming call

5. 3

6. Getting Bitmap of all the Views in ViewFlipper?

7. Need Help for Storing the Values