Hi, I find sometimes I get a NullPointerException here:
xml = new XMLElement(this, url);
which is in the getRandomFlickrImage(). It seems like whether this exception appears is random, wait a few minutes it's probabaly gone. Also, even with the sample code I might also encounter this problem. My guess is that the serve will block my IP for a while if I send request much too often. Any ideas?
↧