3 Replies Latest reply on Apr 5, 2012 11:53 AM by oscar soza

    Problem whith ET1 and save image

    oscar soza

      I'm trying to save the image on a directory in a SDCARD of ET1 but I can't get it. I can hear the sound of the capture but i don't get the image in the directory that i assign.

       

      I tried this way:

      pathname = "\\mnt\\sdcard\\Android\\data\\com.motorolasolutions.rhoelements\\CmzIBM\\fotos\\Oscar.jpg";

      imager.destination = "url('file://" + pathname + "')";

      imager.destination = pathname;

      imager.overwrite = 'TRUE';

      imager.createFolder = 'TRUE';

      imager.imagerEvent = 'doImageCaptured(%json)';

      imager.capture();

       

      This one too:

       

      pathname = "\\mnt\\sdcard\\Android\\data\\com.motorolasolutions.rhoelements\\CmzIBM\\fotos\\Oscar.jpg";

      imager.destination = pathname;

      imager.overwrite = 'TRUE';

      imager.createFolder = 'TRUE';

      imager.imagerEvent = 'doImageCaptured(%json)';

      imager.capture();

       

      And this one

       

      pathname = "\\mnt\\sdcard\\Android\\data\\com.motorolasolutions.rhoelements\\CmzIBM\\fotos\\Oscar.jpg";

      imager.destination = pathname;

      imager.capture();

       

      Can you help me please?