Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4, BridgeIt app.
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Renders a button to access the camera on supported clients, and allows uploading and storing an image from the camera or image gallery.

      ** Only supported on mobile devices supported by the native BridgeIt app. **

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Description camcorder renders a button to access the device video recording capabilities. For non-supported clients it renders an input type file. The recorded or selected video file can be uploaded to the server.

        ** Only supported on mobile devices supported by the native BridgeIt app. **

        Renders a button to access the camera on supported clients, and allows uploading and storing an image from the camera or image gallery. The component will fallback to a input file type on unsupported browsers.

        ** Only supported on mobile devices supported by the native BridgeIt app. **

        Ken Fyten made changes -
        Description Renders a button to access the camera on supported clients, and allows uploading and storing an image from the camera or image gallery. The component will fallback to a input file type on unsupported browsers.

        ** Only supported on mobile devices supported by the native BridgeIt app. **

        Renders a button to access the camera on supported clients, and allows uploading and storing an image from the camera or image gallery.

        ** Only supported on mobile devices supported by the native BridgeIt app. **

        Ken Fyten made changes -
        Link This issue depends on MOBI-972 [ MOBI-972 ]
        Hide
        Cruz Miraback added a comment - - edited

        ICEfaces4 revision# 40103 Test Results
        Test app located at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/camera

        1) When disabled=true the camera button can still be clicked on and an image taken, however, the image will not upload. Just wanted to check if this is correct behaviour.

        2) maxheight/maxwidth attributes don't seem to function

        3) useNative attribute doesn't seem to do anything, is it still relevant in ICEfaces4?

        4) style and styleClass attributes are not getting applied to the component

        5) tabindex attribute is not functioning (probably not important since it's a mobile component)

        6) The image will not upload when the component is nested inside an f:ajax tag

        Show
        Cruz Miraback added a comment - - edited ICEfaces4 revision# 40103 Test Results Test app located at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/camera 1) When disabled=true the camera button can still be clicked on and an image taken, however, the image will not upload. Just wanted to check if this is correct behaviour. 2) maxheight/maxwidth attributes don't seem to function 3) useNative attribute doesn't seem to do anything, is it still relevant in ICEfaces4? 4) style and styleClass attributes are not getting applied to the component 5) tabindex attribute is not functioning (probably not important since it's a mobile component) 6) The image will not upload when the component is nested inside an f:ajax tag
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s 4.0.BETA [ 10770 ]
        Hide
        Ken Fyten added a comment -

        New BridgeIt JIRA for #2 above: MOBI-1037

        Show
        Ken Fyten added a comment - New BridgeIt JIRA for #2 above: MOBI-1037
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ]
        Hide
        Ken Fyten added a comment -

        These issues appear to be valid.

        For #3, we are not supporting the "useNative" attribute for 4.0, instead we will implement a "fallback" facet that will be rendered in place of the component when the native BridgeIt app is not available, or the component is rendered in a browser/platform that doesn't support BridgeIt.

        For #6, like the ace:fileEntry, this component cannot be used with f:ajax or ace:ajax at this time (requires a full submit for the upload).

        Show
        Ken Fyten added a comment - These issues appear to be valid. For #3, we are not supporting the "useNative" attribute for 4.0, instead we will implement a "fallback" facet that will be rendered in place of the component when the native BridgeIt app is not available, or the component is rendered in a browser/platform that doesn't support BridgeIt. For #6, like the ace:fileEntry, this component cannot be used with f:ajax or ace:ajax at this time (requires a full submit for the upload).
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41566 Wed Jul 02 12:56:09 MDT 2014 art.zambrano ICE-9854 fix to correctly apply the 'disabled', 'style', 'styleClass', and 'tabindex' attributes to mobi:camera
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41569 Wed Jul 02 13:14:13 MDT 2014 art.zambrano ICE-9853, ICE-9854 removed float:right styling from mobi:camcorder and mobi:camera demos
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camcorder/camcorder-example.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camera/camera-example.xhtml
        Hide
        Arturo Zambrano added a comment -

        r41566: fix to correctly apply the 'disabled', 'style', 'styleClass', and 'tabindex' attributes to mobi:camera.

        Show
        Arturo Zambrano added a comment - r41566: fix to correctly apply the 'disabled', 'style', 'styleClass', and 'tabindex' attributes to mobi:camera.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41586 Thu Jul 03 17:30:27 MDT 2014 art.zambrano ICE-9853, ICE-9854 removed useNative attribute from mobi:camcorder and mobi:camera; got rid of ThumbnailProvider interface
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/CamcorderMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/Camera.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/Camcorder.java
        Commit graph DEL /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/api/ThumbnailProvider.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/api/IDevice.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/thumbnail/ThumbnailRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraMeta.java
        Hide
        Arturo Zambrano added a comment -

        r41586: removed useNative attribute.

        Show
        Arturo Zambrano added a comment - r41586: removed useNative attribute.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Ken Fyten added a comment - - edited

        Re-opened to add support for an optional "fallback" facet that will be rendered by the component if the BridgeIt app. cannot be used, either due to running on an unsupported platform (such as desktop OS), or the BridgeIt app. not being installed on the device.

        Ex.

             <mobi:camera id="cam" value="#{cameraBean.cameraImage}"
                  buttonLabel="Camera" captureMessageLabel="Photo captured"
                  maxwidth="#{cameraBean.maxWidth}"
                  maxheight="#{cameraBean.maxHeight}" style="float:right">
                  <f:facet name="fallback">
                       <h:outputText value="This is a custom fallback message for unsupported platforms"/>
                  </f:facet>
             </mobi:camera>
        
        Show
        Ken Fyten added a comment - - edited Re-opened to add support for an optional "fallback" facet that will be rendered by the component if the BridgeIt app. cannot be used, either due to running on an unsupported platform (such as desktop OS), or the BridgeIt app. not being installed on the device. Ex. <mobi:camera id= "cam" value= "#{cameraBean.cameraImage}" buttonLabel= "Camera" captureMessageLabel= "Photo captured" maxwidth= "#{cameraBean.maxWidth}" maxheight= "#{cameraBean.maxHeight}" style= " float :right" > <f:facet name= "fallback" > <h:outputText value= "This is a custom fallback message for unsupported platforms" /> </f:facet> </mobi:camera>
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41596 Mon Jul 07 20:11:12 MDT 2014 art.zambrano ICE-9851, ICE-9852, ICE-9853, ICE-9854, ICE-9855 added fallback facet to bridgeit components
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/microphone/MicrophoneMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/CamcorderMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/scan/ScanMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/scan/ScanRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/CamcorderRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/microphone/MicrophoneRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContactRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContactMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraMeta.java
        Hide
        Arturo Zambrano added a comment -

        Added fallback facet to component at revision 41596.

        Show
        Arturo Zambrano added a comment - Added fallback facet to component at revision 41596.
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified for Issues 1 through 6 from description, and fallback facet. Icefaces 4 trunk r41775. Tomcat 7, FF 30, Chrome 35, IE 11, ios 7 and android 4.1.1.

        Show
        Liana Munroe added a comment - Verified for Issues 1 through 6 from description, and fallback facet. Icefaces 4 trunk r41775. Tomcat 7, FF 30, Chrome 35, IE 11, ios 7 and android 4.1.1.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41782 Tue Jul 15 11:28:42 MDT 2014 art.zambrano ICE-9851, ICE-9852, ICE-9853, ICE-9854, ICE-9855 modified fallback approach to determine in the client whether to display fallback contents
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/scan/ScanRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/CamcorderRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/microphone/MicrophoneRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContactRenderer.java
        Hide
        Arturo Zambrano added a comment -

        r41782: modified fallback approach to determine in the client whether to display fallback contents.

        Note: the HTML structure of the component changed, so it might be necessary to modify existing tests.

        Show
        Arturo Zambrano added a comment - r41782: modified fallback approach to determine in the client whether to display fallback contents. Note: the HTML structure of the component changed, so it might be necessary to modify existing tests.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41785 Tue Jul 15 12:18:35 MDT 2014 art.zambrano ICE-9851, ICE-9852, ICE-9853, ICE-9854, ICE-9855 modified fallback approach to determine in the client whether to display fallback contents
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/scan/ScanRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/CamcorderRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/microphone/MicrophoneRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContactRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41833 Tue Jul 22 10:19:22 MDT 2014 art.zambrano ICE-9851, ICE-9852, ICE-9853, ICE-9854, ICE-9855 enhanced fallback approach to activate when the bridgeit app launch fails
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/scan/ScanRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/CamcorderRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/microphone/MicrophoneRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/geotrack/GeoTrackRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContactRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.util/component.js
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: