Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 03-29-2010, 03:55 PM   #1
Junior Member
 
Join Date: Mar 2010
Posts: 1
Friends: 0
View generic.imitation's Profile   View generic.imitation's Photo Album   View generic.imitation's Blog   View Social Groups
Quote:
If you want to work around this with your own Android build, you'll need to modify C++ code, rebuild, and reflash your phone. You'll need to make two fixes to the released sources. 1) edit the function should_use_animated_gif() in external/webkit/WebCore/platform/graphics/android/ImageSourceAndroid.cpp (around line 217). Return true to animate gifs 2) Change setRGBA() in /WebCore/platform/image-decoders/ImageDecoder.h (around line 173) to call*dest = SkPackARGB32(a, r, g, b) *dest = SkPackARGB32(a, r, g, b) instead of instead of*dest = (a << 24 | r << 16 | g << 8 | b) With these changes, gifs will animated correctly on large memory devices like Droid and Nexus One There's no code path for animating gifs in arbitrary applications like Gallery, except by rewriting it to host a WebView modded as described above
This is the solution many people have been looking for (myself included) to get animated gifs in the browser. I have been hounding them pretty relentlessly on the google codesite. You can view the devs response at the bottom of the page at googles code page here: hxxp://code.google.com/p/android/issues/detail?id=3422

If you're a developer and you plan on putting this into a rom please let me know. I've been waiting for this (impatiently) for about 6 months. If you have any insight into the matter please respond to the thread so I know a dev is seeing this.

Thanks a bunch, (super excited)
generic.imitation is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any google image browser application? (HTC Hero) koldtoft Android Games And Applications 0 09-03-2009 03:38 AM
BrOwser Issue-Multi Tasking while BrOwser lOads Vt3kbOi Android Games And Applications 2 07-14-2009 09:50 PM
Browser Based Application (Webview) Afzal Android Development, Answers, Tutorials, and Code Snippets 0 06-18-2009 03:04 AM
Offical gtalk thread! Jamias1.0 Android Chat 0 02-08-2009 12:10 AM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.