Interactive Tutorial and Asynchronous Tasks


In a short 'break time' from Android, I developed a fairly needed Interactive Tutorial for SimpleCV. All I needed was the InteractiveInterpreter (from code import InteractiveInterpreter).


It seems to be working well, and I tried to give the user a little more freedom than with our previous tutorial:




Back to the Android side, I've been struggling with Asynchronous Tasks. It's a whole new concept, and I found out that much of what I was doing didn't entirely follow 'the Android way'. I tried using the post(Runnable) method, but I kept getting NullPointerExceptions, so I decided to try the AsyncTask approach, and It's finally working!!


My app doesn't hang during upload anymore, but I've already found some other issues: I'll probably have to reduce the standard quality of the pictures, because I've been getting FCs when the files are bigger than 2M (maybe also find out how to fix that and give the user the choice...).


Wish me luck!