How to open web link inside the app?

2 posts, 0 answers
  1. Jim
    Jim avatar
    1 posts
    Member since:
    May 2013

    Posted 19 Aug Link to this post

     
    openExternalInAppBrowser:  function () {
        window.open("http://www.google.com", "_blank");       
    },

     

    Hi, I'm trying to modify the in-browser client demo to open up a web link but inside the app (not as a browser client).

    Basically I wanted to open a web link inside the app but not on the browser window.

    How to I make my app startup and open my hard coded web link in the app (not on a browser window of the app), as in, the web page is part of the app.

    (The reason I don't want to open the in-browser client is that I don't want user to type in another web address)

    Thanks.

  2. Preslav
    Admin
    Preslav avatar
    49 posts

    Posted 22 Aug Link to this post

    Hello Jim,

    "location=no" option turns off the InAppBrowser's location bar. I'd suggest checking the plugin documentation for all available options.

    In this case, I modified the code snippet as follows:
    openExternalInAppBrowser:  function () {
        window.open("http://www.google.com", "_blank", "location=no");      
    },

    I hope this helps. 

    Regards,
    Preslav
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top