Is it possible to add a HTML5 canvas element as a field to the android app ?

Hello,

The title probably says it all. I want to create a canvas field on the app where users can draw their signature! I am aware that will have to create the canvas and the logic of it myself!
but how can I show it on the android app ?
it works actually fine on the desktop version.

Alternatively, is there a way to show an iframe field on the app as well ?!

Parents
  • Hi, Simo

    Actually we have a sample with functionality very similar to that

    Please check out samples/fields/signature

    Best regards, Eugene

  • hi Eugene Bychkov or others,
    Will the sample functionality in the SDK save as an image file on disk or in the DB as base64?

    .

    CRM Business Consultant

  • Vincent, 

    Currently images are not saved on disk in any form

  • Hi Eugene

    in that case can you maybe provide some information as to how the SDK example will work or is intended to be used please?
    Would the other option to save it in the DB as base64 be implemented instead of on disk?

    .

    CRM Business Consultant

  • The signature sample is mostly intended at showing some SDK functionality and capabilities:

    1. Extending and registering default views (edit view in this case)

    2. Working with custom field types (signature in this case)

    3. Importing third-party libs ( singature_pad.js in this case)

    Basically it is not fully functional feature in any form, just an example and sample

    As for saving images to device as files or as base64 strings to database: both options are absolutely possible and achievable using cordova plugins or your own custom code

Reply
  • The signature sample is mostly intended at showing some SDK functionality and capabilities:

    1. Extending and registering default views (edit view in this case)

    2. Working with custom field types (signature in this case)

    3. Importing third-party libs ( singature_pad.js in this case)

    Basically it is not fully functional feature in any form, just an example and sample

    As for saving images to device as files or as base64 strings to database: both options are absolutely possible and achievable using cordova plugins or your own custom code

Children
  • Thanks Eugene Bychkov
    I'm not a developer, so I'll pass this info on.

    However, I really think it would be best if Sugar added this field to core to ensure quality and upgrade safe across all platforms.

    It would also help the new push for selling Sugar as a Services delivery platform, as other competing products have the signature field option for many years now.


    Can you refer to relevant Sugar team please?

    Thank you

    .

    CRM Business Consultant