How to create in app browser.

2 posts, 0 answers
  1. tundecanhelp
    tundecanhelp avatar
    10 posts
    Member since:
    Jul 2013

    Posted 07 Apr 2014 Link to this post

    I am trying to create an app that loads up a url using the in app browser plugin as soon as the app loads.
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 08 Apr 2014 Link to this post

    Hi Tunde,

    I would recommend examining the InAppBrowser sample that demonstrates how to use the Apache Cordova InAppBrowser API to open web pages. Although the sample demonstrates opening a web page on a button click, you can implement the logic when the device is ready instead:
    document.addEventListener('deviceready', function () {
        externalUrl = "http://www.telerik.com";
        window.open(externalUrl, "_system");
    }, false);
    This will ensure that the external web page is opened as soon as the application loads on your mobile device. Please give this a try and let me know if it helps.

    Regards,
    Tina Stancheva
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top