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. Android on HTC Tattoo and FM receiver

I was looking at the specs of the new Android phone from HTC, the
Tattoo, and it seems it will feature an FM radio receiver. I don't
believe there is any API in the Android SDK to control and access the
audio from such a receiver. Is there a way to develop an application
that would use, play or record the FM stream?

Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. splash is not displaying sometimes

I am using this mechanism to show a splash screen in my application.

http://www.anddev.org/viewtopic.php?p=22847

it is surprising, once in every 10 times, it does not show splash
screen show the home screen for sometime and directly go to my post
splash scren !

What could be the reason. I am loading around 20k wav sounds to the
sound pool during this process too. I tried moving the sound loading
code to a separate thread, but still splash screen wont appear
sometimes !

thanks in advance
regards

-- 

3. Android.mk rule to build .ko's

4. Android on a Treo (650, 680, 700p, 700w, 750w, 755p, Centro)

5. LOCAL_SHARED_LIBRARIES and LOCAL_LDLIBS

6. making notification icons that look good on white or black backgrounds

7. Masih ada nih invitation googlewave