I'm developing a native mobile app for Android and iOS using PhoneGap.I have a requirement to open a hyperlink in my applcation. I don't want the user to navigate away from my application by opening it in device's browser. Also I need to reuse the cookies that I set in my native app in the application that will be opened from the URL. How do I open link in a browser (which has Address bar) within my native app? I have seen in iOS apps like GMail, Facebook app etc, a browser can be opened within the application. Could you please help me to implement this? Please let me know if my question is not clear or need any further details.
Thanks in advance.
There is a plugin called Childbrowser (as Kerri suggest). It exists for several platforms (iOS, Android...) and is used very widely.
Take a look here: https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser https://github.com/phonegap/phonegap-plugins/tree/master/Android/ChildBrowser