12 Replies Latest reply on Oct 17, 2013 10:00 AM by Pietro Francesco Maggi

    Issue taking a picture on Winows Mobile (MC65)

    Luca Priano

      Hi guys,

       

      I'm using RMS_4.0.0 and I can't take a picture using MC65 device (WM 6.5.3). The code is very simple and work properly on Android devices:

       

        def new

       

          Camera::take_picture(url_for(:action => :camera_callback))

          ""

        end

       

        def camera_callback

         

          if @params['status'] == 'ok'

              @imgUri = Rho::RhoApplication.get_blob_path(@params['image_uri'])

              WebView.navigate(url_for :action => :elaborateImage, :query => {:img_uri => @imgUri})

          end

         

          ""

        end

       

      I see that the condition if @params['status'] == 'ok' isn't satisfied on MC65. Unfortunately I haven't others WM devices to test

       

      I've read this post https://developer.motorolasolutions.com/thread/1668 where Darryn said "We have known issues with the Camera on ES400 and MC65", but it was dated June 2012, do you know if there are issues yet?

       

      Thanks a lot for any clue!