ICEmobile
  1. ICEmobile
  2. MOBI-375

allow camera (native) component to specify dimensions of photo to upload

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Spring 1.0 Alpha
    • Fix Version/s: 1.2 Beta
    • Component/s: Containers, Faces, Spring
    • Labels:
      None
    • Environment:
      all

      Description


      allow developers to determine the dimensions/size of photo to upload for all supported frameworks from native devices

        Activity

        Migration created issue -
        Hide
        Judy Guglielmin added a comment - - edited

        maxwidth and maxheight are currently being written in the jsf renderer for the call to 'ice.camera' as long as maxWidth or maxHeight attributes are specified.
        Please pass back to me after implementation and I'll see that we have a test for it on mobitest.

        Show
        Judy Guglielmin added a comment - - edited maxwidth and maxheight are currently being written in the jsf renderer for the call to 'ice.camera' as long as maxWidth or maxHeight attributes are specified. Please pass back to me after implementation and I'll see that we have a test for it on mobitest.
        Hide
        Steve Maryka added a comment - - edited

        Android container supports this now. The JS interface supports attributes maxWidth, maxHeight, thumbWidth, thumbHeight. The camera handler will scale the photo down to size if resolution is higher than specified. The thumbnail will get scaled as well.

        Show
        Steve Maryka added a comment - - edited Android container supports this now. The JS interface supports attributes maxWidth, maxHeight, thumbWidth, thumbHeight. The camera handler will scale the photo down to size if resolution is higher than specified. The thumbnail will get scaled as well.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31521 Tue Oct 16 15:23:24 MDT 2012 ted.goddard support parameters with JSF ICEmobile-SX and use width and height for camera parameters (MOBI-375)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/util/SXUtils.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/MobiJSFUtils.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31579 Thu Oct 18 11:55:42 MDT 2012 ted.goddard unique file for each image captured by camera (MOBI-375)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile.xcodeproj/project.pbxproj
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.h
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31660 Mon Oct 22 17:08:32 MDT 2012 ted.goddard restored maxwidth and maxheight parameters to renderer, added configuration to mobileshowcase (MOBI-375)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/camera/Camera.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/camera-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/camera/CameraBean.java
        Hide
        Ted Goddard added a comment - - edited

        Verified mobileshowcase image size with ICEmobile and ICEmobile-SX.

        Show
        Ted Goddard added a comment - - edited Verified mobileshowcase image size with ICEmobile and ICEmobile-SX.
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Judy Guglielmin [ judy.guglielmin ]
        Migration made changes -
        Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
        Migration made changes -
        Fix Version/s 1.2 Beta [ 10344 ]
        Migration made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Ted Goddard [ ted.goddard ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: