Adding multiple images to AnimateDrawables sample code

by Madiba » Fri, 23 Apr 2010 12:38:36 GMT


Sponsored Links
 Hello,
I was trying to add more than one images in the AnimateDrawables under
com.example.android.apis.graphics, but for some reason I couldn't. Can
anyone post a sample code on how to accomplish it or at least explain
it to me?  This beginner programmer would really appreciate it :)

Thanks

--



Other Threads

1. problem for snd_pcm_open in alsa porting

Hi, all,

in AudioHardwareALSA.cpp, look at the function ALSAStreamOps::open(int
mode, int device) , when i need to do routing to earpiece, headset, or
other output device.

function snd_pcm_open will open the device by passing devName to it,
but i will return error that unable to open the device "devName". see
below:
snd_pcm_open(&mHandle, devName, mDefaults->direction, 0);

snd_pcm_open will open the device successfully only at by passing
parameter "hw:00,0" to it. see below:
 snd_pcm_open(&mHandle, "hw:00,0", mDefaults->direction, 0);

in this scenario, we will hear sound from all the output device , such
as earpiece, speaker and headset, but except bluetooth headset .

So can anyone tell me how to configure the alsa to let it can work
correct?

Thanks a lot !


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Eclipse Plugin Site Down?

Currently Eclipse (Ganymede) can't find the Android plugin sites:

http://dl-ssl.google.com/android/eclipse/
https://dl-ssl.google.com/android/eclipse/

Eclipse just returns:
"No repository found at https://dl-ssl.google.com/android/eclipse/"

How to install the plugin? I copied those urls from the Android
website -- is a different site hosting the plugin?

Thanks.

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

3. repo sync fail: no platform/frameworks/base

4. how to send data withGPRS

5. Server Socket on Real Device

6. Where is the source code for "Pictures" app

7. Your UK sales?