Pages

Friday, July 15, 2011

Moving my little home page to Google sites

Here is it alehro00.com. Registering at Google sites forced me to do it with new Google account. Juggling of Google accounts really sucks.

Saturday, July 9, 2011

How do I handle multipart form data? or How do I handle file uploads to my app?

Google App Engine for Java Questions - Google App Engine - Google Code
How do I handle multipart form data? or How do I handle file uploads to my app?

You can obtain the uploaded file data from a multipart form post using classes from the Apache Commons FileUpload package. Specifically you may want to use FileItemStream, FileItermIterator and ServletFileUpload as illustrated below.

If you see a java.lang.NoClassDefFoundError after starting your application, make sure that the Apache Commons FileUpload JAR file has been copied to your war/WEB-INF/lib directory and added to your build path.

import org.apache.commons.fileupload.FileItemStream;

Friday, July 1, 2011

Finished native build of vorbis library for android.

http://code.google.com/p/vorbis-android/

Encodes fast like a hell. At least ten times faster than java encoder.