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. Where are attributes listed for Styles?

I was basically creating a custom Dialog.Theme, and inheriting from
the parent. I used the help here 
http://developer.android.com/guide/topics/ui/themes.html#inTheManifest
and was able to add the style as a parent in the styles.xml. However I
got to the point where I had:

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <style name="Theme.CustomDialog" parent="@android:style/
Theme.Dialog">
    <item name=""></item>
        </style>
</resources>

and then it hit me, I don't know what name attributes I can use to
apply or modifty to Theme.Dialog. I know there has to be some but I
couldn't find any. I eventually found some guy's post with these

<item name="android:windowNoTitle">true</item>
    <item name="android:windowIsFloating">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:padding">10dp</item>
        <item name="android:backgroundDimAmount">0</item>
        <item name="android:shadowColor">#000000</item>
        <item name="android:shadowRadius">5</item>

My question is, Are there more? Where can I find a listing of the
available attributes that I can edit from the Theme.Dialog?

Thanks,

Mike
--~--~---------~--~----~------------~-------~--~----~

2. Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

Here's my scenario, I have about 6 layouts that all have a TextView
with the ID "title".  I'm theming my app right now and I'd like to
have it so that every instance of title gets a specific style
applied.  Is this possible?

I don't want to use a default text style because normal text will have
a different size, etc..
--~--~---------~--~----~------------~-------~--~----~

3. Having problems getting style attribute to work

4. How to run the android application on G1

5. Procedure for adding new Android user/group ID's?

6. Does Android Emulator have its own linux kernel?

7. Some transactions are charged a 5% transaction fee instead of the usual 30%