Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

how can I use gif's in android mode?

$
0
0

Hi everyone !!

I need with the gif's in android mode. GifAnimation library is not working on adroid mode. I have tried running my on android. It works on PC but crashes at start on android. Here's an example :

import gifAnimation.*;

Gif loopingGif;

public void setup() {
  size(400, 200);

  loopingGif = new Gif(this, "lavalamp.gif");
  loopingGif.loop();
}

void draw() {
  background(255);
  image(loopingGif, 10, 10);
}

I have coded the entire thing but it dosent works on android.. Need some suggetions.

Thanks a lot !


Viewing all articles
Browse latest Browse all 941

Trending Articles