Multiple Instance of Media Player in Android G1

by Yogi » Tue, 14 Apr 2009 09:32:58 GMT


Sponsored Links
 Hi All,

Can we create multiple instance of media player i.e PV multimedia
framework (opencore) from application?

Thanks in advance,
Yogi

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



Multiple Instance of Media Player in Android G1

by Dave Sparks » Tue, 14 Apr 2009 21:45:44 GMT


 MediaPlayer player1 = new MediaPlayer();
MediaPlayer player2 = new MediaPlayer();



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


Sponsored Links


Other Threads

1. ListView : TextView : text on left and right not working



All three, probably, though TableLayout would be the messiest.


I don't find that layout to be especially "normal", but it is easily
done. Use LinearLayout and android:layout_weight="1" for the left one.
Or, use RelativeLayout with appropriate anchors, so the left text is
anchored to the left side and to the right text.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6
Available!

-- 

2. ListView : TextView : text on left and right not working

You should not use wrap_content width in this case. If you do, then it
the text is long, the textview will automatically expand. Try giving
it a fixed width, and use marquee or elipsize.

Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com




-- 

3. My Survey 1.0

4. bug kah?

5. Nexian Journe

6. Please update - T Shirt Foursquare (paging Firman Setiawan)

7. 1billionhungry Project - Pls sign the petition if you car