Signature Capture Default Path.

E Efkan YILMAZ 3 years 5 months ago
0 0 0

I'm Using the Following code for signature :
     def new
         imgFormat = System::get_property('platform') == 'WINDOWS' ?  "bmp" : "jpg"
         Rho::Signature.takeFullScreen({ :imageFormat => imgFormat, :penColor => 0x0066FF, :penWidth=>5, :border => true, :bgColor => '#ffffff' }, url_for(:action => :signature_callback))
         render :action => :show_signature
     end

It's seems that the Default Path of Signature image has been changed from Rho4.0 to Rho4.1.
Now the Path in 4.1 is:
         file:///storage/sdcard0/Prictures/signature.png
in 4.0 it was :
         data/data/com.xxx.xxx/rhodata/db/dbfiles/signature.png

the Image saved to that path but I'm not able to display it. I tried to Copy the image file as in this solution that i Found on stakeOverflow but i got an error saying that file is not found.

Any help ?

CONTACT
Can’t find what you’re looking for?