ICEmobile
  1. ICEmobile
  2. MOBI-831

Resource download component with "open" functionality

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.4 Beta
    • Component/s: Faces, JSP
    • Labels:
      None
    • Environment:
      ICEmobile

      Description


      The mobi openResource component provides a link to a resource that will be opened on a mobile device.

      <mobi:openResource value="#{bean.resourceurl}" />

      For desktop, this falls back to a simple hyperlink. For the short term it can be styled as a button or a link, whichever is easier. On compatible devices, this is a device command where the value of the link is passed to an "open" command.

      ice.mobi.open(url)

      or ice.mobi.invoke(this) with data-command set to open.

        Activity

        Hide
        Ted Goddard added a comment -

        An "open" command allows the device to download and directly open a PDF. This is implemented in mobileshowcase and for iOS. On Android, the feature might be fairly powerful, such as allowing a PDF to be opened in Adobe Acrobat, or a movie opened in an external video player.

        Show
        Ted Goddard added a comment - An "open" command allows the device to download and directly open a PDF. This is implemented in mobileshowcase and for iOS. On Android, the feature might be fairly powerful, such as allowing a PDF to be opened in Adobe Acrobat, or a movie opened in an external video player.
        Hide
        Judy Guglielmin added a comment -

        initial creation of components (jsf and asp) completed with test page for mobitest and jsptagtest all checked in rev 36647

        Show
        Judy Guglielmin added a comment - initial creation of components (jsf and asp) completed with test page for mobitest and jsptagtest all checked in rev 36647
        Hide
        Ted Goddard added a comment -

        This component will not be immediately functional. Please begin by creating the component and JSP tag and I will complete the integration.

        Show
        Ted Goddard added a comment - This component will not be immediately functional. Please begin by creating the component and JSP tag and I will complete the integration.

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: