GIF image download

by vani reddy » Thu, 14 Apr 2011 11:57:35 GMT


Sponsored Links
 Hi,
  I am trying to download gif images from the server, but i am getting the
below error.

04-12 17:49:26.278: WARN/System.err(16768): java.io.IOException
04-12 17:49:26.278: WARN/System.err(16768):     at
java.io.InputStream.reset(InputStream.java:204)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.graphics.Movie.decodeStream(Native Method)
04-12 17:49:26.278: WARN/System.err(16768):     at
com.tli.gif.GIFAnimation$GIFView.<init>(GIFAnimation.java:40)
04-12 17:49:26.278: WARN/System.err(16768):     at
com.tli.gif.GIFAnimation.onCreate(GIFAnimation.java:20)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.app.ActivityThread.access$2200(ActivityThread.java:119)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.os.Handler.dispatchMessage(Handler.java:99)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.os.Looper.loop(Looper.java:123)
04-12 17:49:26.278: WARN/System.err(16768):     at
android.app.ActivityThread.main(ActivityThread.java:4363)
04-12 17:49:26.278: WARN/System.err(16768):     at
java.lang.reflect.Method.invokeNative(Native Method)
04-12 17:49:26.278: WARN/System.err(16768):     at
java.lang.reflect.Method.invoke(Method.java:521)
04-12 17:49:26.278: WARN/System.err(16768):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
04-12 17:49:26.278: WARN/System.err(16768):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
04-12 17:49:26.278: WARN/System.err(16768):     at
dalvik.system.NativeStart.main(Native Method)


-- 
 Regards,
Vani Reddy

-- 



Re: GIF image download

by Abhilash baddam » Thu, 14 Apr 2011 16:04:59 GMT


 Hi vani,

           try this link may be it will be helpful for u....

 http://androidosbeginning.blogspot.com/2010/09/gif-animation-in-android.html 





-- 


Sponsored Links


Other Threads

1. Transmitting audio from the application to the uplink....is it possible?

I've been searching the API for a way to send a sound over the audio
uplink during a phone conversation.  From what I see, there is no way
to do this.  Am I missing something?

-- 

2. MediaPlayer for Streaming audio.

I am trying to stream mpeg audio from a url on the web via
MediaPlayer. I am getting an error on the prepare call.

02-23 13:05:12.626: ERROR/PlayerDriver(554): Command PLAYER_INIT
completed with an error or info PVMFErrCorrupt
02-23 13:05:12.636: ERROR/MediaPlayer(1147): error (1, -10)
02-23 13:05:12.755: ERROR/Streamer(1147): error streaming

I can get my code to work for a direct url ie http://foo.com/bar.mp3
but If I point to a url that is note a file (a stream) such as
http://foo.bom/myfeed then I get the mentioned error. I don't know if
its because the content size is not defined or what. Everyone seems to
have this trouble can someone please help!

-- 

3. Edit Text Password visible on focus in landscape

4. MediaPlayer MIDI gapless loop?

5. Why Gallery3D apk does not contain drawable-hdpi, which is in source code res/

6. wpa_supplicant issue

7. JUnit Testing for Phone Application