can i play gif?

by zeeshan » Fri, 25 Sep 2009 22:19:00 GMT

Sponsored Links
 Hi Dear,

i am trying to play a gif by

  is = context.getResources().openRawResource
  mMovie = Movie.decodeStream(is);

but mMovie remains null. example in apiDemo is not working either

i am using this code 

Other Threads

1. zero SIZE and DURATION for video?

our app restricts the size of video uploads and i was hoping to 
advise the user that the length of video selected was bad *prior* to 
upload, rather than having them wait for an error message.

SIZE is documented as the length of the file, and DURATION as the 
length of the video in milliseconds, but it seems like both are 
frequently zero, even when there is plenty of goodness in the file 

design? accident?

(and yes, i'm talking about videos recorded by the standard Camcorder 



2. Handling phone ringing

I'm trying to write an app that will run when the phone rings but NOT
answer the incoming call.  The app would have an answer button that
when pressed would perform the regular call answer action, but this
isn't what I need help with.

I've searched the internet and haven't been able to find any consensus
on this issue.  My app only needs to run during the call ringing stage
and nothing more.  What would I have to listen for to do this and what
manifest entries would I need?  Forgive my incorrect/nonexistant use
of terminology, I haven't worked with Android in close to a year and
haven't freshened up fully yet.

Thank you

3. can you tell if you're in the debugger?

4. MapActivity in android 1.5

5. Ini Dia Smartphone Paling Laris

6. Android phones hope to take a bite out of Apple dominance

7. <Android-Beginners> Query : How to get the full path of the files under "res" folder of an Android App?