long time = System.currentTimeMillis();
// encode the movie with the product info (compilation time)
TagEncoder te = new TagEncoder();
MovieEncoder me = new MovieEncoder(te);
Movie movie = new Movie();
movie.size = new Rect(100, 100);
movie.frames = new ArrayList();
movie.productInfo = new ProductInfo(time);
me.export(movie);
ByteArrayOutputStream bos = new ByteArrayOutputStream();
te.writeTo(bos);
// decode the movie and save the compilation time in the special handler