Signature pad

EnoharaEnohara Member ✭✭✭

Do anyone here have a signature pad tutorial links? or can you teach me how to create a signature pad application in android.
I need it in android because all of the tutorials are in xamarin forms, and i don't know how xamarin form works or how to convert the xamarin form codes to android.

Thanks in advance :)

Best Answers

Answers

  • EnoharaEnohara Member ✭✭✭

    @ChristopheBERNARD, Can you explain it to me, or give me some sample codes? I still don't get that link but I've already read it. Thanks for the Help :)

  • ChristopheBERNARDChristopheBERNARD BEMember ✭✭✭✭✭

    @enohara i don't know you level :)
    simply, add create a project, add the nuget package signaturePad, and try

    for example in your mainactivity do this
    `
    SignaturePadView signature;
    LinearLayout mContent;
    protected override void OnCreate(Bundle bundle)
    {
    base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);
    
            // init
            signature = new SignaturePadView(this);
            // now add signature in a linear layout
            mContent = (LinearLayout)FindViewById(Resource.Id.linearLayout);
            mContent.AddView(signature, ViewGroup.LayoutParams.FillParent, WindowManagerLayoutParams.FillParent);
    

    `

    add of course a linearLayout in your mainLayout name linearLayout :)
    run the app, you'll see a signature pad , you can sign now !

    discover the cool nuget easy to use really

  • EnoharaEnohara Member ✭✭✭

    I get it now sir, but I'm having this error. Did I miss some reference?

  • ChristopheBERNARDChristopheBERNARD BEMember ✭✭✭✭✭

    add this normally that s the problem using Android.Views;

  • EnoharaEnohara Member ✭✭✭

    I remove Android Views but still having error in View.Group and WindowsManagerLayoutParams

  • EnoharaEnohara Member ✭✭✭

    I still having this Error, I already add the Android.Views

Sign In or Register to comment.