title: Show a gif/animated imageview from a rest server in Android
body: <p>In my application I'd like to show some animations at the startup in some special events like Halloween, Thanksgiving, Christmas etc.</p>
  
  <p>I didn't find a hot to show an animated .gif in a View. The closest solution I found is to make an AnimationDrawable with the gif frames. </p>
  
  <p>I'm trying to implement that but have some questions about how to store (currently i'm using a LAMP server), transfer and recover the resources needed from the server to the Android device.</p>
  
  <ol>
  <li><p>Downloading the .gif data to the phone and extract there the frames and framerate programmatically is a nice solution or it will add an unnecessary load to the client? If its appropriated is there some library or source for guiding me in with that task?</p></li>
  <li><p>If I want to handle the gif in the server and then I want to serve it to the client frame-by-frame, how can I do that? I've thought in making a JSON with the URL's of the images and download them but maybe is not a nice option since I'd need a lot of http connections and the load could be slower if the network latency is high</p></li>
  <li><p>Where can I find the internal structure of a gif? I have searched in Google but nothing found</p></li>
  </ol>
  
  <p>Thanks in advance</p>