Did you see this post with three different options to achieve what you wanted, complete with a demo project?