facebook

Navigation Bar/Button When Opening A Website Programatically

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #328017 Reply

    Protius
    Member

    Hello All,

    I am developing a front end iPad App that allows a user to open a specific website based on the IP Address that is stored within the App. I have a settings page and I am using localStorage to save the IP Address and a button on the main page that when clicked opens the website based on the stored IP Address. All working perfectly thanks to the information and examples I found here.

    Now, what I need to do is have either a permanent Navigation Bar or a Permanent ‘Back’ button that will remain visible on top of the webpage after it has been opened. Same functionality as a browsers “Back” button so I can get out of the website and back to the Apps main page if the user needs to.

    Or maybe the question might be better stated as “How can I open a website within an iPad application without leaving the application?” or “Can I create a browser App using MobiOne?”

    I am currently using, “phoneui.showURL(link, ‘_self’);” to open the website.

    Is what I am asking for even possible and if so does anybody have any sample code or examples I can work through and get this working?

    Thanks in advance.

    Using Mobi 2.02(Registered), Windows 7 Professional, iPad (2nd Generation), Native Application.

    #328020

    Hi Protius,

    As you are creating a native app you could find useful the open URL in popup window feature.

    >I am currently using, “phoneui.showURL(link, ‘_self’);” to open the website.
    To achieve this for popup windows use: phoneui.showURL(url,’popup’)

    #328021

    Protius
    Member

    Thank you Octavio for your reply.

    Without boring you with the details of why I need the “Back” button functionality, is there any way to accomplish a persistent button or nav bar showing over the website that is opened without using a separate browser window to open the website? What I really need is the equivalent of a full screen browser on the iPad with a back button to provide a seamless interface with the website I need to open from the App I am creating. I want the website to appear as an App and not a website opened with Safari or some other browser. Is there any type of equivalent in MobiOne to an iFrame? Can a website be opened in a Panel or anything similar?

    I can send you more details if it would help any but I didn’t want to waste space here if it didn’t prove helpful.

    Thank you for your assistance.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Navigation Bar/Button When Opening A Website Programatically

You must be logged in to post in the forum log in