instances of MediaPlayer

by rukiman » Tue, 19 Jan 2010 10:34:48 GMT


Sponsored Links
 Is it possible to have two instances of MediaPlayer to play sounds/
video?
How many instances are actually allowed? I can see from the Javadocs
that there is a limited amount of instances of MediaPlayer allowed.



instances of MediaPlayer

by Breezy » Tue, 19 Jan 2010 10:44:30 GMT


 Not sure, but release and recreate my instances.

I just created 2 instances of mediaplayer, but they wouldn't play
simultaneously, they played consecutively.



> that there is a limited amount of instances of MediaPlayer allowed.


Sponsored Links


Other Threads

1. Very Basic question regarding Activities

Hello guys,

I have a very basic question regarding Activities in Android.

Can I share data types a cross Activities in Android?

Let's say I have 2 activities, MyActivity.java and MyActivity2.java. I
have declared some Strings and Arrays on MyActivity that I would like
to access from MyActivity2, is this possible? If so, how can I
accomplish this?

I know its a very basic question, but believe it or not I've had a
hard time figuring this one out!

Many thanks for your prompt response,

Alex

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

2. App folder and JNI privilege

Hi

I found Java apk can only create and write file in /data/data/app
folder, can I mkdir in other folder ?

Can I write a JNI to write a driver , or I can do read operation
only ?

I have tried to read /dev/random to generate some random number, but I
am not sure if I can control a
device as well , I want write my app from Java --> JNI --> Android
device driver.

Should I have a root privilege, how can I get root privilege in
Android ?


Thank for your teaching .


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

3. PowerManger.goToSleep,how to use and what it means

4. Dynamic table

5. where is the ADT Plugin (sdk-windows-1.1_r1\) for Eclipse?

6. Ideas to enhance the Android Platform

7. playing video from browser in android running on beagle board