9 Replies Latest reply on Mar 13, 2015 11:03 AM by Mark Nongkhlaw

    Signature Capture in 5.0.0

    Traction Pvt

      We used the Rhomobile suite 2.2.0 to build our application in Rhodes. Now we are migrating our entire application to newer version of Rhodes and using suite 5.0.0. Using the signature capture in 2.2.0 was as simple as adding the feature under capabilities section in the build.yml file. In 5.0.0 we tried adding signature feature under extensions as per the documentation but at the time of building you get a message saying that Signature capture is only available in RhoElements V2.

       

      So I guess it is no longer possible to use the Signature capture component under the free subscription plan. Is that correct?

       

      Thanks

      Mihir

        • Re: Signature Capture in 5.0.0
          Mark Nongkhlaw

          I believe bar code, signature capture, automatic DB encryption are no longer free since 3.3.3, you might refer to the API Compatibility Matrix for 5.0 to see what features are free & which aren't.

          1 of 1 people found this helpful
          • Re: Signature Capture in 5.0.0
            Jon Tara

            We had been using signature capture as a simple drawing tool. When we realized we would be losing that (no other reason for RhoElements) we wrote a real (but simple) drawing tool using the HTML5 <canvas>. So, now we have a handful of actual drawing tools, undo, colors, etc.

             

            Look around, you can find plenty of sample code, plugins, etc. There are some really full-functioned drawing packages, if that is what you need. We needed something simpler, so developed it ourselves. But we started with a simple sample we found on the web. You should be able to find a simple signature-capture in Javascript using <canvas> pretty easily.

              • Re: Signature Capture in 5.0.0
                Traction Pvt

                Yes,HTML <canvas> is the way forward.Thanks

                  • Re: Signature Capture in 5.0.0
                    Mark Nongkhlaw

                    I'm not sure if html canvas is supported by old (but still used) platforms like WM & BB 4.x, and RhoElements is too heavy for these devices. Not sure why Moto had to convert hitherto free features into paid, except for the fact that “hey you developing for enterprises, eh?”, show me the money...

                      • Re: Signature Capture in 5.0.0
                        Jon Tara

                        Mark, keep in mind that with WM you can use a a Zebra WebKit alternative for the WebView. Of course, that doesn't help with memory, but it does bring the browser modern features. I don't think you need to use RhoElements in order to use the WebKit WebView.  (But I don't build for WM.)

                         

                        FWIW, we started with `sketch.js`:

                         

                            Sketch.js - Simple Canvas-based Drawing for jQuery

                         

                        What we wound-up with is much more, but it was a good starting point!

                         

                        Note that it has bugs - for example, it has a lot of unnecessary re-drawing. Probably better starting-points/tutorials than this, but though it useful to point-out where we got the starting-point for what has turned out to be a very user-friendly sketching tool.

                         

                        If all you need is signature-capture, you should be able to whip one up from sketch.js pretty quickly. Really, I think the first "simple example" does the job for signature!

                          • Re: Signature Capture in 5.0.0
                            Mark Nongkhlaw

                            How do we get to use the Zebra Webkit?  Is there some documentation about it?

                             

                             

                             

                            Earlier with Moto Webkit, we needed to add :

                             

                             

                             

                            capabilities:

                            - motorola_browser

                             

                             

                             

                            to build.yml

                             

                             

                             

                            How do we configure for Zebra Webkit?

                              • Re: Signature Capture in 5.0.0
                                Jon Tara

                                Sorry, Mark, I don't know the answer. I don't build for WM/CE. (but I am now regularly building for Android, which I hadn't been for some time.)

                                 

                                5.0.30 release notes has several references to Motorola Webkit fixes. So, it's definitely still there for WM/CE. I would imagine it's a godsend for those devices, and doubt it is going anywhere soon! I don't know about licensing - presume it requires RhoElements license. Pretty sure I saw something somewhere stating, though, you don't need to actually USE RhoElements to use the WebKit - it just comes with the license.

                                 

                                Motorola RhoMobile Suite

                                 

                                BTW, I just called it Zebra because of the ownership change. It may well still be called "Motorola webkit".