GIF Animation

Discussion in 'HTC Droid Eris' started by bjlaird, Apr 8, 2010.

  1. bjlaird

    bjlaird New Member

    Joined:
    Apr 5, 2010
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    How do I get my browser to display the animation in a GIF image?
     
  2. aminaked

    aminaked Silver Member

    Joined:
    Jan 10, 2010
    Messages:
    2,183
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    California, USA
    Ratings:
    +0
    This is the unofficial official answer I found here: Issue 3422 - android - Animated GIF not working in browser - Project Hosting on Google Code

    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);
    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.
     
  3. Foolish

    Foolish Member

    Joined:
    Nov 13, 2009
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Got an update.zip lol
    .[/U
     
Search tags for this page
android gif not working
,
droid htc incredible turn on gif
,
gif animation work htc
,
hoe do u get gifs to work on ny htc one
,
how do i get animated pdf to work on android?
,
how do i get gifs to work on my phone
,

how to make gifs work on android phone

,
make gifs work on galaxy nexus
,
making gifs work htc hero
,
spinning eris gif