facebook

open HD web page and view with no UI

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

    mobioneuser
    Member

    I want to open a web page from my hard disk and view it in mobione, I also want to view it without a user interface, the status bar, url text field, button bar etc, I just want the content, nothing else, I also want to know if the html and javascript, ie the page code can be viewable in mobione and editable.

    Is this possible? I cant see how to open a web page from my HD or how to get rid of the UI to just show the content, can it be done and how?

    #310385 Reply

    wayne
    Moderator

    The following instructions should get you close to your desired

    1) Open local HTML page in MobiOne Test Center
    – launch the MobiOne Test Center from the Windows Program menu
    – in MobiOne Test Center select the Browser icon from the favorites bar at the bottom of the iPhone emulator
    – enter a path to the resource on you system, e.g., file:///C:/foo/bar/hello-world.html

    2) Turning off iPhone device components
    a) Hide Addressbar
    – include the following onload
    <body onload=”setTimeout(function() {window.scrollTo(0, 1)}, 100);”>
    – reload the page and the addressbar will be hidden

    b) Hide Buttonbar
    – in the <head> section of your html file include the following code:
    <meta name=”apple-mobile-web-app-capable” content=”yes”>
    – load your local page in the emulator then select the “+” and choose to add a bookmark to the Homepage. Once you have saved the bookmark to the Homepage, relaunch it from the Homepage bookmark. You should not see the buttonbar.

    c) Hide Statusbar
    – this is not possible in MobiOne at this time – I’ll open an enhancement request to hide the Statusbar

    d) Turn off faceplate
    – in the Test Center select the View menu and toggle the faceplate visibility to off

    3) View Source Code in emulator
    – with your page loaded in the Test Center emulator, position your mouse in the Test Center window, right-click and choose View Source. You should see your src code. You can edit and save it as needed. When you save your edited source, the Test Center browser will automatically reload your updated page.

    Let me know if this works for you.

    Wayne
    Genuitec Mobile Team

    #310439 Reply

    mobioneuser
    Member

    What I am looking for is a tool to enable non iPhone users to code html and javascript projects to the visual specifications set out by myself, one is not limited to native apps when making iPhone applications one can wrap them in tools suck as Phonegap, I myself have my own personal tool to enable web apps to become native apps, it is then possible for me to contract non iPhone developers to make apps, but the problem lies in that a web page created for web browsers will not look the same as the iPhone’s version of safari, the non iPhone version of safari does not perform the same and elements are not in the same positions, this is why I looked to application such as Mobione.

    I need a tool non iPhone developers can use to see what the web page will look like inside the iPhone, it also helps if the coder can edit the web page within this environment as well. This is a very important consideration for me, I contract work for a lot of applications and our pipeline is massively reduced by the fact html and javascript coders cannot see what the web page will look like when viewed for an iPhone.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: open HD web page and view with no UI

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