Set minsdk to 10

also made changes in the sample app to comply to api 10 (involves
switching a lot of classes to use the support library)