How to use AsyncPlayer ()??? Uri?

by Moto » Tue, 17 Feb 2009 09:32:12 GMT


Sponsored Links
 Hi all!
I'm a little way too confused using the AsyncPlayer class.  So here
are my questions hope someone can help.

1. URI? how do I set a list of local files to play? can this be done?
it seems like it can since I think it says that on the API docs.

 http://developer.android.com/reference/android/media/AsyncPlayer.html #AsyncPlayer(java.lang.String)

2. Do I need to set permission to use URIs? on my android manifest
file? If yes how do I do this? I got really confused trying to set
that.

3. How well does AsyncPlayer work in regards to latency between file
plays?


Thanks for your help!
Moto!
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Small Size Activity Layout as compare to Original Device size

Hi All,

               I am creating one login screen that should have to appear at
the center of the screen(smaller in size as compared to actual device size *
eg*:150*150 for dev size 320*480) .It will look something like alert dialog
that have options for username textview & passwd textview & 2 buttons.

               But now I am using an activity & if I will give value for
height & width as 150dip instead of fill_parent then it will reduce the size
but I can't see the part of previous background activity screen & that area
will appear as black.

               So,anyone can tell me what alternative I have to use? Or how
to do this?


     Thanks,

-- 

2. Bud setAdapter of AbsListView

I've two layouts for diferrent screen size.
Small uses ListView, for large - GridView. Both have same id 
On activity I cast the to AbsListView.
Then I set adapter using setAdapter(new myAdapter), myAdapter extends 
BaseAdapter.
And if my AbsListView is GridView, everything is fine, but if it is ListView 
- then I got exception NoSuchMethodError!
If I cast AbsListView to ListView - then it will work fine too.
How to make it working without injecting cast??

-- 

3. After upgrading to Android 11 I get java.lang.NoSuchMethodError: android.widget.AbsListView.setAdapter

4. Triggering a Force Close to Test the Handling

5. Parsing a large amount of data from a xml

6. AppWidget onDeleted but not onDisabled!

7. Reuse webView between activities