facebook

How to draw on canvas and use thecamera

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #349734 Reply

    donij
    Member

    Hi Octavio,

    I have a project on windows 8 for capturing photo and signature . I am trying to replicate same in android and ios using mobione but don’t seem to have a direction where to look. I tried with the html component but idea not clicking. Could you guide me where to look at or some sample somewhere using mobione.

    Thanks

    #349742 Reply

    Hi donij,

    MobiOne apps are built on top of the Cordova/PhoneGap RT. You can find the camera api here:
    http://docs.phonegap.com/en/2.9.0/cordova_camera_camera.md.html#Camera

    Please take a look at this quick start with cordova doc that should help you to get started if you are not familiar with it:
    http://www.genuitec.com/mobile/docs/usingCordovaAPI/usingCordovaAPI.html

    #349745 Reply

    Code_A
    Member

    When you say “draw on canvas”, are you referring to the HTML5 <canvas> element? If so, then you can drop an HTML widget on your M1 device, add the code below to it, and then start drawing!

    <canvas id="canvas"></canvas> 
    #349787 Reply

    donij
    Member

    Thanks for the response. I tried the canvas which is what I used for the windows app and worked but had some frustration drawing with the same <canvas id=”canvas”></canvas> on my samsung tab. I just want to collect signatures and when done send it to img object. I will take a look at the links advised by Octavio. Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to draw on canvas and use thecamera

You must be logged in to post in the forum log in