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 display using smdk 6400

what are the elements to be looked upon to get the display working on
android?

I am using smdk6400 as my reference board and it has  a frame buffer
driver specific to the board.Do i need anything other than this to get
the display working ?
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Manipulate Drawable Resource

Hello,

I'm trying to find a way to programmatically change a drawable
resource within my application so that I can display this updated icon
as a notification. Would this be possible? If not is there another way
to go about doing something like this? I figured a notification object
might be able to take a bitmap or drawable but it looks like you can
only pass a resource id.

Thanks for any help.
Kyle

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

3. Starting native executable from java Application

4. Reusing object for message

5. Testing a change on a G1 phone after modifying OpenCore ?

6. Will the G1 version of android ever see any more updates from Google?

7. SQLite in WebView, is it possible??