Hi,
I have a query regarding launching a native application from a link of website on iPhone.
I will explain. Generally a web based application is used to work online without using any feature of iPhone device (such as GPS, Camera, Accelerometer etc.)
I have a iPhone specific website which performs many tasks online.
Now while keeping all the functionality same, I want to add a feature of taking a picture from iPhone in-built camera. i.e. when user clicks a button on website "Take Picture", my native application should be launched, which will take a picture and do specific tasks..
How to capture a event of button click which is performed on website? Should I use UIWebView or Safari?
I know that using URL Scheme we can launch Safari from native application. But how to achieve the opposite as explained above?
All other functionality works great on website, so I don't want to convert the whole website into native application. (Otherwise I will have to deal with web services). Only this functionality needs to be added.
So please help in this regard.
Thanks in advance.