Not possible on a non-jailbroken iPhone, unfortunately - it can work inside of the web browser (though that's an experimental feature at the moment) but there's no way to use it in a separate app, nor will there be unless and until Apple adds an official way for apps to offer it.